Am 26.07.2024 um 22:02 schrieb Eduardo Casino <eduardo...@gmail.com>:
OK, this is the last one, I promise ;-D
New release for KIM-1 and PAL-1 with a 1541 drive.Limitation: It only currently works for 1541 drives (or pi1541 with 1541 personality). Other drives or SDIEC are not supported.
There are images and boot loaders for the KIM-1 with the xkim1541 extensions installed at 0xF000 and for the PAL-1 with the same extensions at 0xDA00, as modified by @netzherpes.* Burn the appropriate image into a floppy (or load it into the pi1541 SD card) NOTE: You must burn a binary image, just copying the CPM.PRG file wont work, because the CPM file system is in a hidden file.* If you also have my modified xKIM monitor, then load the 'CPM' program and jump to address 0x6000* If not, load the bootiec-kim or bootiec-pal bootloader into 0x200 and execute itNote: It is really, really slow. I've done it just for fun and because it was trivial once I had David Given's C64 version and my xkim1541 extensions, but it is mostly useless. You can see your beard grow if you compile anything with the assembler.Mandatory screenshot:
<Captura de pantalla 2024-07-26 220009.png>EduardoOn Saturday, July 20, 2024 at 9:31:26 PM UTC+2 Eduardo Casino wrote:After a bit of tweaking, I have reduced it to just 345 bytes, because my KIM-1 ROM is modified to add the 'X' command, which launches the xKIM monitor, and I only have 346 bytes left.There are now three bootloader files in the distribution:* bootsd.bin, which is the binary meant to be loaded at 0x200* bootsd.pap, same file in PAP format* bootsd-kimrom.bin, which is the romable version and has to be placed at 0x1AA0 (or 0x2A0 relative to the KIM-1 rom)The romable version has two entry points:* 0x1AA0 is for cold start, that is, you can point the 6502 reset vector to 0x1AA0 if you want to start CP/M-65 at reset. In this case, the TTY is initialized to 9600 bauds, so make sure that your terminal is configured to that speed.* 0x1AB2 is for booting from the KIM monitorIf there is an error initialising or reading the SD card, a "00" or "01" will be displayed on the terminal, respectively, and the boot loader will give control to the KIM monitor.You can download the new version from https://github.com/eduardocasino/cpm65/releases/download/0.2-sdcard/kim-1-sdcard.zipOn Tuesday, July 16, 2024 at 8:25:12 PM UTC+2 Eduardo Casino wrote:Well, still have to test it because I'm away for a few days, but I think I've been able to squeeze it into 354 bytes :)On Tuesday, July 16, 2024 at 2:23:19 PM UTC+2 h.o...@hansotten.com wrote:I also feared it was too little, seeing your code, not much room for improvement. Lets keep wozmon in it!On Tuesday, July 16, 2024 at 2:21:09 PM UTC+2 eduardo...@gmail.com wrote:The size of the boot prom for the sdcard version is exactly 487 bytes. I haven't really tried to optimize it for size, but 356 bytes sound very challenging :)On Tuesday, July 16, 2024 at 1:56:22 PM UTC+2 h.o...@hansotten.com wrote:There is some room in the KIM ROM at 1A96 to 1BFA, now filled with 0's. Can be used with the KIM clones!
Less than 512 bytes though ...
--
You received this message because you are subscribed to the Google Groups "PAL 6502 computer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pal6502+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pal6502/3e394f3d-4bbe-40c2-aef8-55a53a3ab8can%40googlegroups.com.