6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 12:30 am

All times are UTC




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sat Jun 03, 2017 1:17 am 
Offline
User avatar

Joined: Tue Mar 15, 2016 4:06 pm
Posts: 35
Hey everyone! The Dodo project I have been working on for some time is finally complete.

Basically it is a 1mhz 65C02 handheld game system running off of AAA batteries with swappable came cartridges, monochrome graphics, and a single voice of sound. There is a web IDE where games can be developed in either C or Assembly. Here are ports of Tetris https://play.dodolabs.io/?code=89e9a475 and Space Invaders https://play.dodolabs.io/?code=67cc1a42

I have made it available as a kit on Tindie: https://www.tindie.com/products/pnoyes/dodo-6502-portable-game-system-kit/
All of the project logs are available on hackaday.io: https://hackaday.io/project/9325-dodo-6502-homebrew-game-system
Here are the instructions: http://docs.dodolabs.io

Thanks for looking!

Image

_________________
My 6502 Game System: https://hackaday.io/project/9325-dodo-6502-homebrew-game-system


Top
 Profile  
Reply with quote  
PostPosted: Sat Jun 03, 2017 3:17 am 
Offline
User avatar

Joined: Fri Mar 31, 2017 7:52 pm
Posts: 45
I have the kit and am looking forward to building it. Got sidetracked playing with my FPGA system on my week off, but the Dodo is next on the list!


Top
 Profile  
Reply with quote  
PostPosted: Sat Jun 03, 2017 3:25 am 
Offline
User avatar

Joined: Tue Mar 15, 2016 4:06 pm
Posts: 35
jim30109 wrote:
I have the kit and am looking forward to building it. Got sidetracked playing with my FPGA system on my week off, but the Dodo is next on the list!


Awesome! Thanks for picking one up. Let me know if you have any suggestions for the API. I am starting to queue up some ideas for the next revision of the firmware.

_________________
My 6502 Game System: https://hackaday.io/project/9325-dodo-6502-homebrew-game-system


Top
 Profile  
Reply with quote  
PostPosted: Sat Jun 03, 2017 5:57 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
Excellent news, and a great project.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 09, 2017 3:33 pm 
Offline
User avatar

Joined: Tue Oct 25, 2016 8:56 pm
Posts: 362
Indeed, I have to say this is really cool, and I may well pick one up myself if it can be shipped to the UK. I particularly like the WebIDE - I wouldn't even know where to begin making one of those.

Having had a look through the API documentation, one major suggestion I have is some kind of Save Game feature. Perhaps reserve a small number of bytes - for the sake of argument lets say 128 bytes - somewhere on the FRAM cartridge which the game can read and write using API calls.

_________________
Want to design a PCB for your project? I strongly recommend KiCad. Its free, its multiplatform, and its easy to learn!
Also, I maintain KiCad libraries of Retro Computing and Arduino components you might find useful.


Top
 Profile  
Reply with quote  
PostPosted: Sat Jun 10, 2017 5:47 am 
Offline
User avatar

Joined: Tue Mar 15, 2016 4:06 pm
Posts: 35
Alarm Siren wrote:
Indeed, I have to say this is really cool, and I may well pick one up myself if it can be shipped to the UK. I particularly like the WebIDE - I wouldn't even know where to begin making one of those.

Having had a look through the API documentation, one major suggestion I have is some kind of Save Game feature. Perhaps reserve a small number of bytes - for the sake of argument lets say 128 bytes - somewhere on the FRAM cartridge which the game can read and write using API calls.


Thanks! I do intend to provide international shipping. What method would you prefer? I have heard horror stories about using USPS internationally, and the private carriers seem quite expensive.

Also, thanks for the save game suggestion. I already reserved 100 bytes on the FRAM for such a purpose, there is just no API around it yet. I logged it as an issue here: https://github.com/peternoyes/dodo/issues/2

_________________
My 6502 Game System: https://hackaday.io/project/9325-dodo-6502-homebrew-game-system


Top
 Profile  
Reply with quote  
PostPosted: Sat Jun 10, 2017 8:57 am 
Offline
User avatar

Joined: Tue Oct 25, 2016 8:56 pm
Posts: 362
I've never personally had experience of having had things shipped from america by USPS, at least that I can recall. I think normally when things are posted to me internationally its either FedEx or UPS. In any case, they always hit me with some kind if ridiculous (read, more than £10) duty & handling fee, but other than that I can't recall any problems.

EDIT: I've never actually used them yet, but OSH Park, a US PCB manufacturer, ships internationally using either UPS or USPS. I find it difficult to believe they'd offer an option that doesn't work.

_________________
Want to design a PCB for your project? I strongly recommend KiCad. Its free, its multiplatform, and its easy to learn!
Also, I maintain KiCad libraries of Retro Computing and Arduino components you might find useful.


Top
 Profile  
Reply with quote  
PostPosted: Sat Jun 10, 2017 9:01 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
I think I've had books from the US by ordinary post. I've never had a problem. Of course, there will always be some small proportion of failures in shipping.


Top
 Profile  
Reply with quote  
PostPosted: Sat Jun 10, 2017 10:07 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
When we had friends in France whom we wanted to send something, they specifically asked that we not use UPS or FedEx because the cost was ridiculous, but that we only use USPS (United States Post Office).

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Sat Jun 10, 2017 6:10 pm 
Offline
User avatar

Joined: Tue Mar 15, 2016 4:06 pm
Posts: 35
I just enabled international shipping using USPS Priority Mail International which seems to be the best value.

_________________
My 6502 Game System: https://hackaday.io/project/9325-dodo-6502-homebrew-game-system


Top
 Profile  
Reply with quote  
PostPosted: Sun Jun 11, 2017 4:33 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
pnoyes wrote:
Thanks! I do intend to provide international shipping. What method would you prefer? I have heard horror stories about using USPS internationally, and the private carriers seem quite expensive.

I've used the U.S. Postal Service's Priority Mail to send stuff to Canada, Europe and Australia. I've never had a problem with it.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Wed Jun 14, 2017 10:41 pm 
Offline
User avatar

Joined: Tue Oct 25, 2016 8:56 pm
Posts: 362
pnoyes, what kind of current does this thing draw?

My research of what's in there suggests that there shouldn't be enough current (or only just barely) to run this thing.

The main buck boost according to the datasheet is good for 400mA, and the LDO stepping down to 3.3V is good for 250mA. From my research, the screen alone should draw 310mA peak, RAM & ROM ~40mA each....

EDIT: Scratch that, according to your v1.4 schematic from github, the Buckboost you're using is only good to 200mA, which puzzles me even further.

_________________
Want to design a PCB for your project? I strongly recommend KiCad. Its free, its multiplatform, and its easy to learn!
Also, I maintain KiCad libraries of Retro Computing and Arduino components you might find useful.


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 15, 2017 1:21 am 
Offline
User avatar

Joined: Tue Mar 15, 2016 4:06 pm
Posts: 35
Alarm Siren wrote:
pnoyes, what kind of current does this thing draw?

My research of what's in there suggests that there shouldn't be enough current (or only just barely) to run this thing.

The main buck boost according to the datasheet is good for 400mA, and the LDO stepping down to 3.3V is good for 250mA. From my research, the screen alone should draw 310mA peak, RAM & ROM ~40mA each....

EDIT: Scratch that, according to your v1.4 schematic from github, the Buckboost you're using is only good to 200mA, which puzzles me even further.



When measured before the boost converter, Dodo typically pulls around 180mA at 2.5v while a game is being played. The LT1303-5 can produce 200mA at 5V. The output of the converter is 5V and less than 100mA (well under the 200mA limit).

EDIT: Just to follow up:
The Display from the Datasheet pulls a max of 90mA at 3.3v (so 60mA from the 5V perspective) but it is not run at full brightness so it consumes less.
The RAM and ROM pull far less than 40mA each because they are clocked at 1MHz. Current consumption is related linearly to clock speed and those current limits are spec'd for the maximum supported clock speed which is an order of magnitude higher.

_________________
My 6502 Game System: https://hackaday.io/project/9325-dodo-6502-homebrew-game-system


Top
 Profile  
Reply with quote  
PostPosted: Sat Jun 17, 2017 5:20 am 
Offline
User avatar

Joined: Mon May 25, 2015 2:25 pm
Posts: 692
Location: Gillies, Ontario, Canada
Wow, I have only been away from this forum for a little while, and it is great to see how far your project has progressed in that short time.
Nice work!

Brad


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 19, 2017 11:49 pm 
Offline
User avatar

Joined: Tue Oct 25, 2016 8:56 pm
Posts: 362
pnoyes wrote:
EDIT: Just to follow up:
The Display from the Datasheet pulls a max of 90mA at 3.3v (so 60mA from the 5V perspective) but it is not run at full brightness so it consumes less.
The RAM and ROM pull far less than 40mA each because they are clocked at 1MHz. Current consumption is related linearly to clock speed and those current limits are spec'd for the maximum supported clock speed which is an order of magnitude higher.


Thanks for that. I had not considered that, of course, the RAM/ROM will draw less current at less than their maximum specified clock speed. I do a lot of not quite thinking things through! As to the screen, the nearest equivalent I could find to what you're using (there's no part numbers so I'm going by physical looks of the screen) says it draws up to 310mA, so I'd be interested to know what screen you're using.

A further note, I believe that the 1N4148 diodes in your debounce circuit are unecessary. The circuit you've used is a direct lift from here, which on the matter of the diode states:
Quote:
The diode is an optional part needed only when the math goes haywire. It's possible, with the wrong sort of gate where the hysteresis voltages assume other values, for the formulas to pop out a value for R1 + R2 which is less than that of R2. In this case the diode forms a short cut that removes R2 from the charging circuit. All of the charge flows through R1. The previous equation still applies, except we have to account for drop across the diode. Change Vfinal to 4.3 volts (5 minus the 0.7 diode drop), turn the crank and R1 pops out.


However, R1 + R2 is obviously greater than R2 in this case. Further the R1/R2 values are those from earlier in the article, and do not take into account the diode (Vfinal = 5V not 4.3V) so it may actually be suboptimal to have the diode in place.

_________________
Want to design a PCB for your project? I strongly recommend KiCad. Its free, its multiplatform, and its easy to learn!
Also, I maintain KiCad libraries of Retro Computing and Arduino components you might find useful.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 53 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: