On Sat, Jul 4, 2009 at 5:08 PM, Neil Bradley <nb@...> wrote:
> > It's looking for the vectors at 0xfff8-0xffff, which is probably all 0s
> > unless you load something there.
>
> Well, that wouldn't have worked as it hit several opcodes that weren't
> implemented.
>
> Here is a new recomp.exe, template, and ROM image for the Apple1:
>
> http://www.synthcom.com/~nb/OrionBinaryV0.28.zip
>
> And here's what I have so far for the Apple 1 disassembly. I think it's
> pretty complete, though there are sections of "db"s that warrant closer
> analysis that I couldn't get working.
>
> http://www.synthcom.com/~nb/apple1.asm.txt
>
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!)
cpu 6502;
entry 0xe000, 0xe00c, 0xe018, 0xe035, 0xe04b, 0xe109, 0xe121, 0xe12c,
0xe1d7, 0xe222,
0xe8d6, 0xee3e, 0xee4c, 0xee52, 0xeee4, 0xeef6, 0xef00, 0xefec,
0xeff2, 0xe16c,
0xe733, 0xe7a4, 0xe7b1, 0xe7c1, 0xe7e2, 0xe7f8, 0xe817, 0xe828,
0xe8a5, 0xe93a,
0xe950, 0xe97e, 0xeea0, 0xeea6, 0xeec9, 0xeed1, 0xef10, 0xef1e,
0xef24, 0xef4e,
0xe05d, 0xec01, 0xec40, 0xee00, 0xef4e, 0xefb3,
apple1basic;
moduleprefix apple1basic;
coderegion 0xe000-0xefff;
ramregion 0x0000-0x1000; // Work RAM
loadimage 0xe000, "3rdparty/roms/apple1/apple1basic.bin";
inlinedata 0xec1e-0xec1f;
inlinedata 0xec20-0xec3f;
inlinedata 0xec53-0xedff;
>
> 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?
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...
btw I'm on vacation for 2 weeks as of today, you can tell, right? :-)
thanks,
G
[Non-text portions of this message have been removed]