разные авторы, разные цели.
в xasm ins удобен с опцией пропуска N байт.
Вид для печати
разные авторы, разные цели.
в xasm ins удобен с опцией пропуска N байт.
MADS
XASMЦитата:
INS 'filename'["filename"][*][+-value][,+-ofset[,length]]
The INS pseudo-command allows inclusion of an external binary file. The included file does not have to be in the same directory as the main file being assembled. Search paths for the file can be configurated using the /i switch (see assembly switches).
Additionally, you can perform the following operations on the binary data:
* invert bytes
+-VALUE increase or decrease each byte by the value of the expression VALUE
+OFSET skip OFSET bytes at the beginning of the file (seek to OFSET)
-OFSET read OFSET bytes at the end of the file (seek to FileLength-OFSET)
LENGTH read LENGTH bytes from the file
If the LENGTH value is not specified, the default behavior is to read to the end.
Цитата:
INS - insert contents of file
Copies every byte of the specified file into the object file and updates the origin counter, as if these bytes were written using DTA. You may specify a range of the file to insert. The syntax is:
ins 'file'[,offset[,length]]
The first byte in a file has the offset of zero. If the offset is negative, it counts from the end of the file. Examples:
ins 'picture.raw'
ins 'file',-256 insert last 256 bytes of file
ins 'file',10,10 insert bytes 10..19 of file
А так же у MADS
Цитата:
ICL 'filename'["filename"]
The pseudo-command ICL includes an additional source file in the assembly process. The attached file does not have to be in the same directory as the main assembly file. Additional paths are added to the MADS search path using the /i switch (see assembly switches).
Шынни, можешь хоть немного о работе с P/M здесь вывалить ?
если я правильно понял, то вопрос о PMG.
мой топик на хайпъ, там же пример.
Угу, спасибо.
Шынни, не против если завалю здесь вопросами?
Кстати , от чего такие реинкарнации твоих сущностей?
Шынни,
Писано так, будто сей регистр можно читать , в то время как он WO .Цитата:
Расположение определяется значением из PMBASE($D407), умноженным на 256
Вообще ничего не понял. Тупею видно. Можно графически изобразить?Цитата:
Для каждого объекта пиксель может состоять из точки шириной в 2 точки и высотой в одну, или 2х2 пикселя.
верно, вечная болезнь при написании опусов. Значение, записанное в PMBASE, умноженное на 256 и есть адрес.
в текстовом режиме (GR.0 басика) и в режиме GR.8 разрешение 320х200.
для игрока один пиксель будет шириной 2пикселя, высотой в 1.
Для двойного разрешения высота 2х2.
http://i99.fastpic.ru/big/2017/1212/...7fd5d687af.png
на рисунке зеленый и красный.
Благодарствую.
Твой сырец компильнулся и запустился в WUDSN с MADS без проблем.
Изучаю твой сырец попутно читая мапинг и дере-атари и PMG для Барсика.