Hi I was wondering if anyone might have an idea what the problem is with this code.
I'm trying to load files when the system has been shut down by the startup code.
I got this other bit of code from Stingray that enables the ports and IO interrupt before calling the system routines to read a file.
This seems to work fine on kickstart 2.0 and 3.x and also when loading files from HD on 1.3. It does not however work on 1.3 when trying to load files from a floppy disk. Seems to get stuck with the disk spinning sound playing. I don't have an amiga with 1.3 so only tested on FS-UAE but I'd imagine it doesn't work on real hw either.
I haven't been able to figure out which part of the startup code exactly makes it not work properly on 1.3 or what I'd need to enable for calling the file loading routines.
I uploaded a small test program here:
http://amiga.lauri.me.uk/loadfiletest.lhaShould compile fine with either phxass or vasm using:
vasmm68k -Fhunkexe -kick1hunks -o loadtest -nosym loadtest.s
Any help is much appreciated!