Anyone still watching this space?
As winter is coming, its back to more Zikzak hacking. Got pretty far at the beginning of this year, with the Zikzak single board computer working 'pretty well'; video was coming out, the Z80 and STM32 as gpu working together pretty well.. and then I decided to start looking into making a case, which lead into a big distraction desiging my own CNC and 3d printer, and then buying half a kit and making some monstosity, that more or less works... and then, being summer, using that to desig and make a tricopter and quadcopter. Summer, gotta bring the kids outside, so.. make flying blenders right?
... but all that aside, time to get back to the zak
The main goal is still 'get it into a case, so I can at least plug it into the family TV or monitor at work and show people, so I can say its 'done'' sort of thing. That actually breaks into quite a few pieces..
- the rev3 SBC (single board computer) was working pretty well*, but was all header pins (and a lot of them) - didn't want to commit ot any particular part for jacks (like VGA port, etc), so just header pins; figured down the road I could just mount jacks onto a case and jumper from the header pins to the jacks ... well, turns out that is annoying as heck to do; theres a lot of jacks (vga, joystick 1 and 2, PS/2 keyboard, serial, headphone, power, and various optionals .. and even WIP stuff like SD slot.) Also, making a plastic printed case that holds all those jacks is annoying.. hacks take force in and out, and its tricky to make any treal substance there without an inner and outer shield, really rteally annoying stuff to design and make.
- the existing code is a lot of individual test cases, over the life of the project (2014 mostly, my first real electronics project.. see earlier in thread for long diatribes
- so while ps/2 keyboard code was built and workig, it actually used a different mcu (cpu), so I can't really say how well tested the current SBC pcb is .. some of the tesdt cases use same/similar schematic, but not tested on latest pcb.. so thats essentially not tested, right? so while video, ram, cart rom, etc works fine, I need to do a cohesive run down all the test cases and write up a bunch of current solid test code or a test mode (or a test mode cartridge, how cool would that be?)
- some parts I used have now become pricey or unavailable, just the standard lifecycle of parts
... and more
So, some current thoughts
-> I've ebay ordered a bunch of jacks for pcb mounting (istead of face mounting); 20x of each, really .. which is not a lot, but its enough that if this is only for me, I can go through a few iterations of boards/machines and not run out, and likely a few spares if anyone else wants one; also, the parts i question look pretty generic styled, so I should be able to at least get more in the future or minor pcb update to adjust to new parts
-> I have waffled between going back to two board design instead of one board, since it makes things cheaper and more flexible, but a single board is nifier in a lot of ways ... so I think I'll try to stick with that, but not married to it
-> I'm going to try to squeeze the jacks right onto this SBC pcb; its quite a tight fit already (6"x4" pcb) but if I drop a couple breakout headers, it should be doable; I'll keep what I can, as I love having lots of extra breakouts on there (ie: thats how the SD slot goes on there now)... but if I drop some breakout pins, get some space back from physical pinheaders and traces, it makes life easier to fit on stuff like a big ass VGA port. I'll keep what I can.. we'll just see. if I can't get all those jacks on there, I'll figure out next steps then. (I'm going to aim to get 1 joystick jack on there, with second stick maybe as header pins ... since really, how many of these would need dual player anyway?)
--> RAM is still pretty good at 512KB or less; don't see much need to go more
--> ROM cart (eeprom really, so can be flashed from the zikzak or other things easily) .. the 32KB and 128KB chips I use now are very hard to get and pricey, yet flash chips with same pinout more or less as the eeproms are available; I'm thinking of picking up a 10 pack of them at $2 each, and desiging a cart pcb to support them, that fits into activision atari 2600 cart cases; 512KB of cart space and 512KB of RAM is pretty swank (zikzak is aiming at low rez 320x200 sort of video, but it can actually manage about 800x600 in color when running flat our, but without much framebuffer its tricky to generate that stuff; can do fractals and stuff okay though, and sprite stuff..)
--> also need to redesign the power supply pcb, since its huge right now (was my first or second pcb, so used up a large space since space didn't matter to price; but who needs a 2"x4" pcb for power, when it could be a little 1" square or something; now that I'm aiming for a case, smaller is better
-> I suppose I should work more on the optional add-on SD slot, and a serial board; right now it uses serial for logging out of the two main chips, but does it at mai board voltage of 3.3V not serial level; can use an FTDI chip to change it to USB-serial.. I use $1 "FTDI Basic" boards from ebay to save me doing it up, but maybe I should see if I can roll together an expansion pcb with SD and serial and stuff on it, or something. I've done that on one of my other experiments so no big deal..
Codewise, need to work on the full test stuff as noted above, and actually start workign on BIOS; the BIOS I have so far is very basic .. and is compiled into games on the cart; I might try to move it to be generic BIOS hosted by the eZ80 small flash it has, but we'll see how it goes.. more like old school machines is not to bother, just keep it all on cart, with only a simple bootlaoder on the base zikzak (check for cart, and if not present, do something like show BASIC or whatever
..
I should also work on a basic space invader game or something, so theres a useful demo, and as sample code. There a couple people who are interested a bit, bit not really interested in jumping into new undefied crappy hardware without any sample code, so if I can get a new SBC board, with jacks on it, and a sample working cart with simple code that builds with open source tools.. maybe I could put out a little zikzak dev package for a couple people. I need to make a reference section on the zikzak website too, with memory map and what BIOS functions available and how to call them, etc.
So thats goal 2 .. 1) make a cased unit thats fully tested and with some basic demos, and 2) make a useful package in case someone wants one.
Aighjt? Aight.
If n one cares, I'll shut up, but I think a few peopel still liek to see homebrew console hacking
http://www.zikzak.ca
jeff
edit: Still using the AY-3-891x ("PSG" pokey famous chip) for audio; they're getting harder to find - at least, the AY-3-8913 I use is - but the AY-3-8912 is pretty common still; its tempting to switch back to that chip and order 10 or 20 to have (can always make some synths out of them), but I've still got 4 or 5 -8913's around. (They're all the same essentially.. -8910 has a couple parallel ports you can use; -8912 has 1, -8913 has none; so you get smaller chip and less pins as you go down the family, and as I don't need the extra functionality why pay the space price? .. but the -8912 and -8910 were more commoly used back in the day so more available.)