All, I have written a short boot loader for the C64 ROM. I placed it in the unused area at $BF53 (48979) in the BASIC ROM (It just fit). 00BF53 1 A2 00 LDX #$00 00BF55 1 BOOTLOOP: 00BF55 1 BD 64 BF LDA BOOTTEXT,X ; GET NEXT BOOT TEXT BYTE 00BF58 1 F0 07 BEQ BOOT_OUT ; DONE IF ZERO 00BF5A 1 9D 77 02 STA KEYBUF,X ; PUT IT IN THE KEYBOARD BUFFER 00BF5D 1 E8 INX ; POINT X TO NEXT BYTE IN BOOT TEXT 00BF5E 1 4C 55 BF JMP BOOTLOOP ; REPEAT THE LOOP 00BF61 1 BOOT_OUT: 00BF61 1 86 C6 STX KEYCNT ; SAVE THE BYTE COUNT 00BF63 1 60 RTS ; RETURN TO CALLER 00BF64 1 4C CF 22 2D BOOTTEXT: .BYTE "L", 'O'+$80, '"', "-", '"', ",8", $0D, "R", 'U'+$80, $0D, $00 I recompiled it and tested if with VICE emulator. It works if I type the command 'sys 48979'. I would like to have the computer RESET ROUTINE call it a power on, not the warm start. Any suggestions how to wedge it into the startup? Ted Message was sent through the cbm-hackers mailing listReceived on 2013-04-04 15:00:06
Archive generated by hypermail 2.2.0.