12-03-2017, 11:04 PM
Well let's try to make my attempt as simple as possible...
- I need to inlcude various ASM calls inside an Arcade Game Designer project;
- these ASM calls evoke different machine code routines, so first of all I make the different bin parts located in a specific memory location (e.g. sound fx or compressed screens), then the various files are assembled in an unique TAP file, in order to have: a loader, the game machine code generated by AGD and the machine code which collects the various routines;
- one of these routines should be a starting MENU, programmed in ZX Basic (just like the code in the above post), then compiled as a binary file to be included in the final TAP project;
- both trying to launch the compiled menu as a full project including the other routines, and as a stand-alone file, there's a problem with the INKEY command: there's a loop which blinks the colour of the text, and this part works; however, the INKEY command seems to freeze when using a RANDOMIZE USR command in the top part of the ZX Basic program: if the RANDOMIZE USR is removed, the INKEY works! That's the bug i'm trying to explain.
- I need to inlcude various ASM calls inside an Arcade Game Designer project;
- these ASM calls evoke different machine code routines, so first of all I make the different bin parts located in a specific memory location (e.g. sound fx or compressed screens), then the various files are assembled in an unique TAP file, in order to have: a loader, the game machine code generated by AGD and the machine code which collects the various routines;
- one of these routines should be a starting MENU, programmed in ZX Basic (just like the code in the above post), then compiled as a binary file to be included in the final TAP project;
- both trying to launch the compiled menu as a full project including the other routines, and as a stand-alone file, there's a problem with the INKEY command: there's a loop which blinks the colour of the text, and this part works; however, the INKEY command seems to freeze when using a RANDOMIZE USR command in the top part of the ZX Basic program: if the RANDOMIZE USR is removed, the INKEY works! That's the bug i'm trying to explain.