Make all OS_TARGET=msxdos CPU_TARGET=z80 OPT=-CX For this simply do a build of FPC for your host target which will build the utility as well and the resulting binary will then reside in utils/ihxutil/bin/-.Ĭurrently a make all in the top level directory of the FPC sources does not fully succeed, but it works enough that the resulting compiler and RTL can be used, so use the following: Console as well as File I/O are implemented, though only the former is tested due to apparent bugs in the code generator.įirst of you need the ihxutil utility. The ObjPas and ISO7185 units are compiled though not yet tested. It needs to be seen whether this can be improved in the future.Īs of revision r45600 the System unit is supported, but neither the DOS nor the SysUtils unit are. In addition FPC produces rather verbose code compared to e.g. Due to this restriction extreme care needs to be taken when linking in code as the limit can be reached quickly and quietly.Īt least MSX-DOS 2.0 or newer is required. Mechanisms for (transparently) utilizing the slot mechanisms of the MSX need yet to be researched. Thus the size for the program code and data is currently restricted to the remaining size. The top of the TPA is the place of the stack (at program start the top of the stack points below the start of the DOS) and FPC reserves an area for the heap inside the TPA as well. The compiler generates flat COM files which reside in the Transient Program Area (TPA) of the memory that reaches from $100 to the address of the DOS (which might start at something like $DEF0 or so).
0 Comments
Leave a Reply. |