ahright, next step is ..
- acquire a few missing little parts - some piezo speakers, some ps/2 female connectors, that sort of bumf; cheap stuff.
- set up next test rig..
Next test step is building up the full schem, piece by piece, to see if it works; its a bit much to test on breadboard, but we'll see how far I get
First part of test is the atmel side .. lets proove the part I know how to prove, before adding in the z80 complexities.
So, given I already have the VGA text mode emitting going on, I want to add to it..
+ joystick
+ sound
+ keyboard
+ switch to atmega644p from atmega644 maybe (dual usart's.. I'm using one usart for VGA timing, and the other would be for swerial/usb to host PC for debugging and console)
+ write some text mode screen API - send cursor to X,Y, clear screen, print character to cursor location, trivial stuff
+ basic protocol to push instructions into the atmel, and pull data from it .. this would be how the Z80 communicates with it; not sure how I'll test this though, short of dropping in another atmega for short term bit bang testing. could do
Once that stuff is going, I can add in the data/address bus and z80..
I've updated my own copy of the schem a bit, for corrections.
Atari 9pin joystick is "NO" (normally open) for each of the 5 joystick pins (up, down, left, right, button), and closes (to ground) when stick/button is pressed. You have to pull _UP_ to Vcc to show nothing then, and when the switch closes it will pull down to Ground. So use a 10K resistor say (or anything really) over to Vcc (5V in my case), and you're good to go.
I've now got it so I can plug in an Atari joystick and update the screen to show "up" or "down" or whatever, works a treat without impacting VGA.
--> looks like if I update the entire screen at once (about 500 characters), you can see the VGA blink.. so its so busy I really can't do much during an interupt without throwing the timing off; but thats okay, we'll see.. but a joystick and keyboard are very low traffic, so should be fine. Speaker, we'll see too.
Its the protocol back and forth to the z80 I sort of worry about, but we'll see how fast I clock the z80
....
FWIW, I'm now running on the 4" tiny 'rear view' tv for car, with a VGA to Composite RCA adaptor thingy as discussed previous page. Works well. So I'm running 9V into the kit, with my old 9v->5V linear regulator board giving a ncie clean 5v which I feed into the rest of the board, but with the 9V feeding into the little TV. Development is much faster when you get to display logs to screen
jeff
Once I get fart-noises coming out of speaker, or keyboard working, I'll make a shitty little video