[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Disk controller
- Subject: Disk controller
- From: simcop2387 <simcop2387@gmail.com>
- Date: Mon, 21 Nov 2005 20:10:41 GMT
- Newsgroups: comp.emulators.apple2, comp.sys.apple2
- Organization: RoadRunner - Carolina
- User-agent: Pan/0.14.2.91 (As She Crawled Across the Table)
- Xref: g2news1.google.com comp.emulators.apple2:474 comp.sys.apple2:6860
Ok i've been playing around trying to get the disk controller to work
(i've borrowed almost all (like 99.5%) of the code for it from the
original java applelet emulator, and it seems that something is going
wrong.
thanks to the source to the disk rom i was able to verify that the
emulated cpu is working properly (i could be wrong about that).
what i don't know yet is why when it reaches the end of the rom it jumps
to $0801 (which ends up filled with garbage it would appear when looking
at the contents of the memory thanks to the apple monitor). I'm tempted
to just skip the disk controller and go with creating a nice gui for
stepping through everything easily, and watching whats going on (and any
place in memory) so i can see whats going on and try to learn why.
the disk image works fine in the original java emulator (until it crashes)
so i'm thinking the problem with the disk controller (since i borrowed the
whole thing) has to lie in either my IO code or my cpu core (which doesn't
seem like the case, it runs the monitor and basic fine, though i don't
know how to properly use the basic at the moment)
anyone anyone have any specs about the whole disk controller that might
help in verifying whats working and what isn't?
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
Updated: 2005-04-19
GCS/CM/M/S d-(--) s:+ a-->->>+>++>+++$>?$ C+++(++)>++++$ ULB+++(++)>++++$
P++++>++++$ L++++ E----(@) W+++ N++ o? K? w---(--) O-- !M V? PS+ PE Y++
PGP++(+++@) t+(++) 5 X+++(++@) R(+) !tv() DI++++ b+ D++ G++ e*()>++>++++$
h(*)>---- r++@>+++ !y?(**)
------END GEEK CODE BLOCK------