6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Wed May 08, 2024 9:41 am

All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Wed Jan 25, 2023 8:08 pm 
Offline
User avatar

Joined: Fri Aug 14, 2015 5:19 pm
Posts: 27
Location: ENCOM mainframe.
Just released this 6502 Atari 2600 emulator with a BASIC compiler for the Commodore 64:
http://relationalframework.com/GameLoader_C64_Atari_emulator_with_SuperCharger_BASIC.htm

_________________
Load BASIC from tape on your Atari 2600:
http://RelationalFramework.com/vwBASIC.htm


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 25, 2023 9:56 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8176
Location: Midwestern USA
That’s a simulator, not an emulator.

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


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 25, 2023 11:23 pm 
Offline
User avatar

Joined: Tue Oct 25, 2016 8:56 pm
Posts: 360
BigDumbDinosaur wrote:
That’s a simulator, not an emulator.


I agree that you're technically right (after I once saw a post from Garth explaining the difference): just as an 8P8C modular connector is not an RJ45 jack, and a Podium is not a Lectern.

However, I would suggest that, except in the most technical of literature, its probably not a hill worth dying on. Society as a whole has decided that they are called Emulators and nit-picking in our tiny corner of the internet won't change that.

Indeed, if Mr SQL called it a simulator then other people interested in what they (rightly or wrongly) call an emulator will never find it because they're not looking for a simulator, they're looking for an emulator.


Attachments:
File comment: XKCD 1322 "Winter" - Randall Monroe - CC-BY-NC-2.5
winter.png
winter.png [ 36.06 KiB | Viewed 1255 times ]

_________________
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 Jan 26, 2023 9:25 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10800
Location: England
(No, not even technically right, just a difference of dialect.)


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 26, 2023 6:53 pm 
Offline
User avatar

Joined: Fri Aug 14, 2015 5:19 pm
Posts: 27
Location: ENCOM mainframe.
BigDumbDinosaur wrote:
That’s a simulator, not an emulator.

It's an emulator, it runs these Atari ROM's with pixel perfect cycle precise emulation.

The VM emulates the TIA presenting a shadow register bus to the Atari 2600 program which runs unchanged just as if it were talking on the bus to a real TIA.

_________________
Load BASIC from tape on your Atari 2600:
http://RelationalFramework.com/vwBASIC.htm


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 26, 2023 10:26 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10800
Location: England
(I think you're unlikely to convince - the main thing is not to be put off by negative commentary. Almost everyone running a 6502 system these days will use "emulation" the way that you and I do. I think only those few who learnt their trade in the 70s or before are likely to have the other sense in mind. And even they know exactly what is meant!)

(It is a pity that the forum continues to see these negative pedantic points made - they make the place unwelcoming, and yet most of us are actually pleased when new people join up.)


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 26, 2023 11:12 pm 
Offline
User avatar

Joined: Tue Oct 25, 2016 8:56 pm
Posts: 360
Mr SQL wrote:
Just released this 6502 Atari 2600 emulator with a BASIC compiler for the Commodore 64:
http://relationalframework.com/GameLoader_C64_Atari_emulator_with_SuperCharger_BASIC.htm


Had a gander at your website, and I'm confused.

Is this a program that can be used natively on a real C64, or is it some kind of extension module for that the VICE C64 emulator?

_________________
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: Fri Jan 27, 2023 4:21 am 
Offline
User avatar

Joined: Fri Aug 14, 2015 5:19 pm
Posts: 27
Location: ENCOM mainframe.
Alarm Siren wrote:
Mr SQL wrote:
Just released this 6502 Atari 2600 emulator with a BASIC compiler for the Commodore 64:
http://relationalframework.com/GameLoader_C64_Atari_emulator_with_SuperCharger_BASIC.htm


Had a gander at your website, and I'm confused.

Is this a program that can be used natively on a real C64, or is it some kind of extension module for that the VICE C64 emulator?

Yes it can be used natively on a real C64 to run Atari 2600 programs.
If you use it within in VICE it is emulation within emulation.

_________________
Load BASIC from tape on your Atari 2600:
http://RelationalFramework.com/vwBASIC.htm


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 30, 2023 5:03 am 
Offline
User avatar

Joined: Fri Aug 14, 2015 5:19 pm
Posts: 27
Location: ENCOM mainframe.
I read the thread on emulation vs simulation and agree with the idea that cycle precise software emulation is real emulation.

Here's an example of Atari 2600 simulation and emulation in context:

The first Atari 2600 Flashback model used a NOAC Nintendo-on-a-chip with simulated Atari 2600 games that were actually Nintendo games programmed to look like Atari games.

Successive Flashback models used an Atari2600-on-a-chip and emulators for real Atari games.

GameLoader is cycle precise and pixel perfect. I've updated the site with side-by-side examples to try in Atari 2600 and Commodore online emulators.

_________________
Load BASIC from tape on your Atari 2600:
http://RelationalFramework.com/vwBASIC.htm


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 30, 2023 5:41 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8432
Location: Southern California
That's something that has only human I/O, so the difference hardly shows up there.  However, it definitely cannot take the place of the emulated computer where the latter has particular ports, pinouts, voltages, timings, signaling protocols, etc.; so it is a very narrow, limited view of emulation that ignores the reality of other fields of computing.  My own use of the 65xx has almost no human I/O.

_________________
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: Mon Jan 30, 2023 6:25 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8176
Location: Midwestern USA
GARTHWILSON wrote:
That's something that has only human I/O, so the difference hardly shows up there.  However, it definitely cannot take the place of the emulated computer where the latter has particular ports, pinouts, voltages, timings, signaling protocols, etc.; so it is a very narrow, limited view of emulation that ignores the reality of other fields of computing.  My own use of the 65xx has almost no human I/O.

Always reminds me of the discussion I had years ago with the Boeing engineer in charge of flight-testing aircraft prototypes and/or design changes to production aircraft. He wryly pointed out the difference between simulation and emulation by pointing out that a pilot can “crash” the simulator and be able to write a report about it. Not so with the “emulator” (actual plane).

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


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 30, 2023 5:16 pm 
Offline
User avatar

Joined: Fri Aug 14, 2015 5:19 pm
Posts: 27
Location: ENCOM mainframe.
GARTHWILSON wrote:
That's something that has only human I/O, so the difference hardly shows up there.  However, it definitely cannot take the place of the emulated computer where the latter has particular ports, pinouts, voltages, timings, signaling protocols, etc.; so it is a very narrow, limited view of emulation that ignores the reality of other fields of computing.  My own use of the 65xx has almost no human I/O.


All interesting perspective.

The Commodore 64 has the same BASIC I/O ports for Joysticks and RF Television output as the Atari 2600.

The same Cartridge port is not present, but GameLoader emulation solves this by dumping and recompiling the source which is also necessary to add Commodore graphics to Atari games.

I worked on the Development Team for the Retron77 emulated Atari console which inspired this idea by including a cartridge port that dumps the cart ROM into the emulator.

GameLoader emulation also includes a soft ANTIC chip that I designed. All the advanced Atari 2600 demos being emulated have the soft ANTIC chip too, but it is only a virtual chip with no hardware behind it like the Atari 400/800/5200 so perhaps it is more concept emulation of Display Lists.

I consider both the soft ANTIC and the soft TIA implementation on the C64 close emulation, since Atari 2600 demos run unchanged with precise timing.

I enjoyed your article on 6502 interrupt variations.

I was surprised to see FluidCity, one of the fastest Atari 2600 games, jitter on the Rectron 77 with an intermittent screen roll that does not happen on the real hardware. An interrupt from the Linux OS running the emulator is doubtless responsible. I saw the same problem developing the C64 Atari emulator and initially used an NMI to stop other interrupts.

_________________
Load BASIC from tape on your Atari 2600:
http://RelationalFramework.com/vwBASIC.htm


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

All times are UTC


Who is online

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