Login
Back to forumSee the full topicGo to last reply

Posted By

KiCHY
on 2017-10-19
03:12:06
 Re: Let Us Make Your Dreams Come True Together (lumydctt)

Ahoy,

Friendly hints are coming, no intention of any harm...

The capability of loading a .PRG into the editor is not the same (nice feature btw) as including any file into your project. You should be able to include another source and any binary into a .lumy file. In case of binary files, it is useful to be able to specify a start address and length. Some ppl just like to organize the code into several source files (better readability, better organization, reusable source files, etc.) I assume your C# project is also divided into multiple smaller .cs files happy
For example, a possible solution to separate the two kinds of include: .INCLUDE for source files, and .INCBIN for binary files, where you can give extra optional parameters.
.INCLUDE "gfxlib.lumy"
.INCBIN "charset.bin" ; Includes the whole binary file
.INCBIN "charset.prg",2 ; Includes all bytes from program file, skipping the loading address bytes
-INCBIN "charsets.prg",$1002,$800 ; Includes bytes from program file, skipping loading address and another $1000 bytes, and include only $800 bytes, not all bytes.

Please consider the usage of a less fancy font for tab texts (Editor, Monitor, etc.).



Back to top


Copyright © Plus/4 World Team, 2001-2024