6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 22, 2024 9:02 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue May 21, 2024 8:02 pm 
Offline

Joined: Tue May 21, 2024 7:54 pm
Posts: 2
I noticed that the visual6502 python implementation has been used to build an Atari simulation - https://github.com/gregjames/Sim2600.

It's awesome but painfully slow. Has anyone made a similar Atari simulation with the perfect6502 simulation (written in C instead of python)? (https://github.com/mist64/perfect6502)

It seems like perhaps the main tasks would be to implement the TIA and a way of rendering the pixels. The Sim2600 python repo has an implementation of the TIA already, so I guess this would just be a port.

Thanks for any pointers you might have,

Dan


Top
 Profile  
Reply with quote  
PostPosted: Wed May 22, 2024 1:41 am 
Offline

Joined: Wed Jan 03, 2007 3:53 pm
Posts: 64
Location: Sunny So Cal
Honest question: how would this be better than, say, Stella?

_________________
Machine room: http://www.floodgap.com/etc/machines.html


Top
 Profile  
Reply with quote  
PostPosted: Wed May 22, 2024 3:24 pm 
Offline

Joined: Tue May 21, 2024 7:54 pm
Posts: 2
This is for a research project where it's important to have all the transistor values.

Previously this was published: https://journals.plos.org/ploscompbiol/ ... bi.1005268

I want to try some similar experiments. In the paper they say they used a C++ version, but the code looks like Python / Cython to me (https://github.com/ericmjonas/Sim2600). It runs at like 1 KHz, whereas the perfect6502 sim runs at closer to 50kHz. Still not fast, but I can do a lot more experiments that way. With the 1kHz version, it takes literally hours to render enough frames of the game for anything interesting to happen on the screen.


Top
 Profile  
Reply with quote  
PostPosted: Wed May 22, 2024 8:41 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8505
Location: Midwestern USA
djbutler wrote:
With the 1kHz version, it takes literally hours to render enough frames of the game for anything interesting to happen on the screen.

Gee, I can remember when real computers took hours to accomplish anything.  :D  In fact, way back when, I had a client that had a 1970s-era BASIC Four mini with the old washing machine-sized disks.  That contraption took nearly four hours just to compute the accounts receivable trial balance—and that was without drawing any pictures.  :shock:  When we converted them to one of our AMD K6-powered servers running SCO UNIX, the run time to get the trial balance plummeted to about five seconds.  They were amazed.

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


Top
 Profile  
Reply with quote  
PostPosted: Wed May 22, 2024 8:47 pm 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1488
Location: Scotland
What about a 6502 emulator written in ... Minecraft?

Then get it to emulate an Atari 2600 ... at 1 frame/sec.

https://www.youtube.com/watch?v=mq7T5_xH24M

-Gordon

_________________
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: jds and 16 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: