
(Just for the record, I might get some day a listing of Mercenary decompilation of the C64 version).
I also am hanging back, watching these guys push their engines(*) way forward, but I surely can think of parts of the game code I could grok and push forward, as well...
What I find great with forums like defence-force or CEO is that we permanently discover some impressive or attractive things made by others that are far beyond our own skills. Opportunities to feel amazed are so numerous.
Hey !! You should start programming next generation Oric games right now.
The 3 text lines in HIRES have index 25,26,27 (where the first screen line has index 0 and starts at address 0xbb80), so you need to call AdvancedPrint with 'y' parameter one of the 25,26 or 27. Another problem is this 3 lines are probably filled with 0 (i.e. INK = black) and because there is no PAPER attribute set it defaults to black too => the printed data is invisible. Here is quick and very,very dirty fix, just to illustrate the difference (file main.c around line #90):
Code: Select all
memset((void*)(0xbb80+26*40),0x20,40);
sprintf(message, "%d.%d ", kernel_s, kernel_cs);
AdvancedPrint(10,26,message);
sprintf(message, "%d.%d ",kernel_beat, kernel_fraction);
AdvancedPrint(20,26,message);
sprintf(message, "%d ",getTempo());
AdvancedPrint(30,26,message);