I was getting ?OUT OF MEMORY ERROR
when I was trying to get directory listing of a disk after returned assembly routine.
I've prepared a simple routine just to understand what was happening, e.g:
*=$c000
lda #$00
sta $d020
rts
And my build script is:
C:\...\acme0.95.6win\acme.exe --outfile build\ROUTFILE --format cbm RSOURCEFILE
C:\...\tools\WinVICE-2.4-x64\x64.exe build\ROUTFILE
When I run the build script emulator loads the PRG file. Tries to run it but nothing happens as I didn't include the BASIC loader. Even after that point if I writre LOAD "$",8
to get directory listing. I'm getting ?OUT OF MEMORY ERROR
. So what is wrong in above scenario?
Hex dump of the PRG file is:
00 c0 a9 00 8d 20 d0 60