6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Wed May 22, 2024 5:06 pm

All times are UTC




Post new topic Reply to topic  [ 3 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: 56
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  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 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: