С любовью к вам, Yandex.Direct
Размещение рекламы на форуме способствует его дальнейшему развитию
Каким макаром вы отлаживаете программы?
Есть идея "загрузить бегучку в картинку", с отладкой дурацкие проблемы.
СТС непонятно как грузится
---------- Post added at 13:23 ---------- Previous post was at 13:13 ----------
С унреалом вообще нихт не ясно, как стс загружать. А отладчики эмулей не очень удобны
Что подскажете?
Hacker VBI, в анриле свой весьма навороченный дебаггер
стс там лишний
С уважением,
Jerri / Red Triangle.
Hacker VBI, F1
установка бряк пойнтов
поставил раз - перекомпилил, перезапустил - все на месте
в любой момент времени нажал esc(или ~) получил дебугер
ищешь ошибку - есть подозрение - воткнул в исходник di:halt - вывалился в нужной точке
трассировка есть, трассировка по условиям (ооочень гибким и очень быстрым) есть
С уважением,
Jerri / Red Triangle.
Ещё вопрос, по музыке.
Есть модуль, как лучше его експортнуть с плеером из VT для вставки в код?
incbin "*.$c" ?
Если это SjASM, то не надо в него incbin'ом вставлять $c-файлы! $c-файл содержит TR-DOS-заголовок, он добавиться в код тоже. И маска для указания конкретного файла тоже не покатит. Надо что-то в духе
Экспортить лучше как .SCL или .TAP-файл и вытаскивать из образа каким-нибудь плагином для файлового менеджера.Код:INCBIN "Module.c"
Я даже не знаю что сказать
INCBIN <filename>[,offset[,length]]
To include a binary file into the outputfile. The offset and length are optional.
Example 5.23.
INCBIN "gfx.scc",7 ; include gfx.scc, skip first 7 bytes
INCBIN "rantab.com",3,256 ; include 256 bytes from offset 3
INCBIN gfx.scc ,7 ; note the space between the filename and the ',7' here
INCHOB <filename>[,offset[,length]]
To include a data from a hobeta file into the outputfile. The offset and length are optional.
Example 5.24.
INCHOB "gfx.$c",7 ; include gfx.scc, skip first 7 bytes
INCHOB "sprs.$c",3,256 ; include 256 bytes from offset 3
INCHOB gfx.$c ,7 ; note the space between the filename and the ',7' here
INCLUDE <filename>
To include another sourcefile into the current. Sourcefiles can be nested 20 levels deep. If the file cannot be found in the current directory (the current directory is the directory the current file comes from) the file will be searched for in the directories specified at the commandline. When angle brackets are used, the commandline directories are searched before the current directory.
Example 5.25.
INCLUDE <VDP.I>
INCLUDE MORE.I
INCLUDE "MORE.I"
INCLUDELUA <filename>
To include another LUA script in first pass(!). If the file cannot be found in the current directory (the current directory is the directory the current file comes from) the file will be searched for in the directories specified at the commandline. When angle brackets are used, the commandline directories are searched before the current directory.
Example 5.26.
INCLUDELUA <mylibrary1.lua>
INCLUDELUA mylibrary2.lua
INCLUDELUA "library_for_zx.lua"
INCTRD <filenameoftrdimage>,<filenameintrdimage>[,offset[,length]]
To include a file from a TRD image into the outputfile. The offset and length are optional.
Example 5.27.
INCTRD "test.trd","mygfx.C" ; include mygfx.C from test.trd
INCTRD "test.trd","mygfx.C",12 ; include mygfx.C from test.trd, skip first 12 bytes
INSERT <filename>[,offset[,length]]
INSERT is a synonym of INCBIN. See above.
С уважением,
Jerri / Red Triangle.
Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)