Hi! I have several routines in asm in different .tap. Is there any app that unifies all the blocks into one? I mean, with a single "bytes: xxx", and then from code go calling the different randomize usr. If not, can you put several asm routines in the same list and thus be able to call them later from code? Thanks and greetings !!
The simplest way would be to copy the code for all of the routines into a single .ASM file and call them taking note of the different start addresses. By using the monitor/debugger in an emulator to browse the content of the RAM after loading the resulting .BIN or .TAP file, you can easily see at which address in memory each routine starts.
If you do not have the source code at your disposal, you can always load the various .TAP files in the RAM sequentially one by one and then save them into a single large code file. In this case, you should take note of the length of the code for each routine. E.g. if you load your first routine (provided they are relocatable of course, i.e. that they can be stored and executed anywhere in the RAM) at address 40000 and the routine is 100 bytes long, the routine will occupy the space 40000-40099 in the RAM, so you will be able to store the second routine starting from 40100. When you have finished, you must understand how many bytes you have to save by calculating the address of the last byte of the last piece of code. E.g. if you started loading code at 40000 and the last piece of code starts at 45000 and is 500 bytes long, the total amount of memory used is 45000 + 500 - 40000 = 5500 bytes. Thus, you save the whole group of routines with SAVE "filename" CODE 40000,5500.