> That's pretty good! Comparing it manually to
> http://www.brouhaha.com/~eric/retrocomputing/apple/apple1/basic/a1basic.dis
>
> all I've seen so far is a missing label at E05D, and a couple of code
> sections - one starting at EC01 whose last instruction is a jmp at EC1B, and
> one at EC40 whose last instruction is a jmp at EC50; and the last starting
> at EE00 which goes on to join the rest of the code apart from an $FF
> instruction at EE33.
>
> then there's another missing code section from EF4E to the jmp at EFAB.
> Code starts again at EFB3.
>
> I don't see any data disassembled as code (which I do in eric's manual
> disassembly!)
Well, that's lucky! Usually it completely goes off into the weeds when it
attempts to disassemble data.
> > The recompiler portion of it won't work becaus I didn't do any of the C
> > emission for the new instructions. Enjoy.
> New instructions? Are they using some undocumented opcodes, or was the 6502
> module not complete?
The 6502 module wasn't complete and probably still isn't.
> Remind me how to run this... I tried recomp -template
> templates\template.apple1 -disasm apple1.asm but there's no output,
> just a warning about an entry vector, and an unknown opcode at E27F...
That's correct. It'll warn you about the entry vector because there isn't
one at 0xfffe or whatever the reset vector is.
The "unknown opcode" either means it's hitting an unimplemented
instruction in the disassembler, the disassembler has a bug, or it's off
in the weeds because it's trying to disassemble data.
-->Neil
----------------------------------------------------------------------------
C. Neil Bradley - EVERYBODY KERNEL PANIC!