Page 1 of 1

PB64 - C64 Emulator [Win10/64bit]

Posted: Wed May 13, 2020 10:15 pm
by Mr.L
Hi there!
Here is my attempt to write a C64 Emulator:
Download

Uses SDL2.dll for sound output
No Floppy / Tape emulation
only supported filetype is *.prg

Default keys for the Joysticks are:
Numpad 1 - Left
Numpad 3 - Right
Numpad 5 - Up
Numpad 2 - Down
Numpad 7 - Fire

Image

Image

Re: PB64 - C64 Emulator [Win10/64bit]

Posted: Wed May 13, 2020 11:01 pm
by idle
shame I can't try this out at the moment, thanks for sharing.

Re: PB64 - C64 Emulator [Win10/64bit]

Posted: Wed May 13, 2020 11:24 pm
by oreopa
"But does it emulate X_BEHAVIOUR on raster line Y at cycle Z when the screen is off and you are heating eggs on the PSU?!!111"

In seriousness, pretty cool. Thanx a lot for sharing the source.

EDIT: I cant compile it... POLINK errors... unresolved SDL symbols... slap me with a clue stick?

Re: PB64 - C64 Emulator [Win10/64bit]

Posted: Thu May 14, 2020 1:25 am
by Paul
oreopa wrote: EDIT: I cant compile it... POLINK errors... unresolved SDL symbols... slap me with a clue stick?
The DLL used is 64bit so you will have to compile with PB x64 (kinda says that is the description ;) )

Re: PB64 - C64 Emulator [Win10/64bit]

Posted: Thu May 14, 2020 1:44 am
by oreopa
Paul wrote:
oreopa wrote:The DLL used is 64bit so you will have to compile with PB x64 (kinda says that is the description ;) )
My excitement got the better of me ;) Thanx :)

It' is very impressive. Managed a few games of stuff. Far from perfect, but it wasn't stated as such :) Could easily be extended to be useful for crossdev/debugging. Cheers!

Re: PB64 - C64 Emulator [Win10/64bit]

Posted: Thu May 14, 2020 8:35 am
by BarryG
Interesting! Love the C64, so it's nice to see this.

Re: PB64 - C64 Emulator [Win10/64bit]

Posted: Thu May 14, 2020 3:46 pm
by Otrebor
Congratulations!

Re: PB64 - C64 Emulator [Win10/64bit]

Posted: Thu May 14, 2020 5:04 pm
by Rings
Bravo, very nice stuff !!!!

Re: PB64 - C64 Emulator [Win10/64bit]

Posted: Thu May 14, 2020 8:00 pm
by infratec
Hi, hi,

long time ago I wrote an Sharp MZ700 emulator.
At the start of my PB time I wanted to port it to PB, but a Z80 CPU is not easy to port :wink:

I did also many tricks to speed up the character output (using VGA custom charsets)

At the moment it runs only via DOSBox :oops:

So from one emulator to the other ...

WELL DONE :!:

Re: PB64 - C64 Emulator [Win10/64bit]

Posted: Thu May 14, 2020 10:29 pm
by Mr.L
thanks for the feedback!
No, its not at all a perfect emulation :P - just a fun project for me.
My initial goal was just to see the blue startscreen and a blinking cursor but from there on
I added more and more features like collision detection, foreground/background Sprite position,
SID-Sound and so on...
Unfortunatly, many of the more advanced games and demos are not running but i already spent
too much time on this project to fix that.
Maybe someone else feels the urge to make it work :wink:

Re: PB64 - C64 Emulator [Win10/64bit]

Posted: Fri May 15, 2020 6:20 am
by Michael Vogel
Cool idea, maybe going one step back in history would be also an interesting project the Pet 2001 :wink:

Re: PB64 - C64 Emulator [Win10/64bit]

Posted: Fri Oct 30, 2020 4:30 pm
by em_uk
Very cool!