dschmenk / apple2pi

Apple II client/server for Raspberry Pi
GNU General Public License v3.0
112 stars 24 forks source link

Initial IIgs implementation #7

Closed david-schmidt closed 9 years ago

david-schmidt commented 9 years ago

Here's the first pass. The bad: it's in ca65 assembler. It spews out some garbage until you jiggle the mouse at the IIgs end. The good: It works.

I also added a check for GS-ness in the initial STARTUP command; it is simply this: 45 IF PEEK (49691) = 235 THEN A2$ = "A2PIGS"

dschmenk commented 9 years ago

This will probably have to get reworked a little, as I have the A2Pi card in a GS, and this will kill it. But, there is more work to be done for the new A2Pi card, v2 that has a ROM on it.

Dave…

On Feb 22, 2015, at 2:15 PM, David Schmidt notifications@github.com wrote:

Here's the first pass. The bad: it's in ca65 assembler. It spews out some garbage until you jiggle the mouse at the IIgs end. The good: It works.

I also added a check for GS-ness in the initial STARTUP command; it is simply this: 45 IF PEEK (49691) = 235 THEN A2$ = "A2PIGS"

You can view, comment on, or merge this pull request online at:

https://github.com/dschmenk/apple2pi/pull/7 https://github.com/dschmenk/apple2pi/pull/7 Commit Summary

Initial GS implementation - blurts random text on the GS at first Initial GS implementation - blurts random text on the GS at first Merge branch 'master' of https://github.com/david-schmidt/apple2pi File Changes

A client/BUILD/a2pigs.s https://github.com/dschmenk/apple2pi/pull/7/files#diff-0 (592) M share/A2PI-1.4.PO https://github.com/dschmenk/apple2pi/pull/7/files#diff-1 (0) Patch Links:

https://github.com/dschmenk/apple2pi/pull/7.patch https://github.com/dschmenk/apple2pi/pull/7.patch https://github.com/dschmenk/apple2pi/pull/7.diff https://github.com/dschmenk/apple2pi/pull/7.diff — Reply to this email directly or view it on GitHub https://github.com/dschmenk/apple2pi/pull/7.

david-schmidt commented 9 years ago

The core concepts are simple - the interaction with the SCC chip is just a little different than the SSC card, and of course we can assume the mouse card is in slot 4. That's all I did to the original a2pi.s code... removing the sniffing code made enough room for the SCC initialization table.

And, yeah, if you put the pi card in a GS, that will invalidate the communications assumptions...