[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cloning BOOT13, Pt.2



Linards Ticmanis wrote:
Lyrical Nanoha wrote:
http://www.dosius.net:8080/boot13u-prelim.a65.txt

This is the current source code for Boot13-PathoLogic.  It doesn't work.

You might want to have a look at the BOOT.COM file from the CPM 2.23 disk image. It contains a relocated version of the 13-sector boot code that's also just 256 bytes long and works very well. It's 6502 code, not z80, embedded into the z80 executable.

If you don't have a real Z80 softcard, the "Apple II Oasis" Emulator does a good job at emulating it.


Here's the 13-sector boot code from CP/M's BOOT.COM. The only changes from the ROM are in the marked lines if I looked right. This code wants to live at $6000. You might see what you can do with it.

00000000  a2 20 a0 00 a9 03 85 3c  18 88 98 24 3c f0 f5 26
00000010  3c 90 f8 c0 d5 f0 ed ca  8a 99 00 08 d0 e6 20 58
**000020  ff ba a9 60 48 a9 0c 0a  0a 0a 85 2b aa a9 d0 48
00000030  bd 8e c0 bd 8c c0 bd 8a  c0 bd 89 c0 a0 50 bd 80
00000040  c0 98 29 03 0a 05 2b aa  bd 81 c0 a9 56 20 a8 fc
00000050  88 10 eb a9 03 85 27 a9  00 85 26 85 3d 18 08 bd
00000060  8c c0 10 fb 49 d5 d0 f7  bd 8c c0 10 fb c9 aa d0
00000070  f3 ea bd 8c c0 10 fb c9  b5 f0 09 28 90 df 49 ad
00000080  f0 1f d0 d9 a0 03 84 2a  bd 8c c0 10 fb 2a 85 3c
00000090  bd 8c c0 10 fb 25 3c 88  d0 ee 28 c5 3d d0 be b0
000000a0  bd a0 9a 84 3c bc 8c c0  10 fb 59 00 08 a4 3c 88
000000b0  99 00 08 d0 ee 84 3c bc  8c c0 10 fb 59 00 08 a4
000000c0  3c 91 26 c8 d0 ef bc 8c  c0 10 fb 59 00 08 d0 8d
000000d0  60 a8 a2 00 b9 00 08 4a  3e cc 03 4a 3e 99 03 85
000000e0  3c b1 26 0a 0a 0a 05 3c  91 26 c8 e8 e0 33 d0 e4
**0000f0  c6 2a d0 de cc 00 03 d0  03 4c 53 11 4c 2d ff 00

--
Linards Ticmanis