It is currently Tue Mar 09, 2021 9:06 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: PB64 - C64 Emulator [Win10/64bit]
PostPosted: Wed May 13, 2020 10:15 pm 
Offline
User
User

Joined: Sun Oct 09, 2011 7:39 am
Posts: 47
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


Top
 Profile  
Reply with quote  
 Post subject: Re: PB64 - C64 Emulator [Win10/64bit]
PostPosted: Wed May 13, 2020 11:01 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Sep 21, 2007 5:52 am
Posts: 3579
Location: New Zealand
shame I can't try this out at the moment, thanks for sharing.


Top
 Profile  
Reply with quote  
 Post subject: Re: PB64 - C64 Emulator [Win10/64bit]
PostPosted: Wed May 13, 2020 11:24 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Jun 24, 2006 3:29 am
Posts: 272
Location: Edinburgh, Scotland.
"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?

_________________
Proud supporter of PB! * Musician * C64/6502 Freak


Top
 Profile  
Reply with quote  
 Post subject: Re: PB64 - C64 Emulator [Win10/64bit]
PostPosted: Thu May 14, 2020 1:25 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Fri Apr 25, 2003 4:34 pm
Posts: 1045
Location: Canada
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 ;) )

_________________
Image Image


Top
 Profile  
Reply with quote  
 Post subject: Re: PB64 - C64 Emulator [Win10/64bit]
PostPosted: Thu May 14, 2020 1:44 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Jun 24, 2006 3:29 am
Posts: 272
Location: Edinburgh, Scotland.
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!

_________________
Proud supporter of PB! * Musician * C64/6502 Freak


Top
 Profile  
Reply with quote  
 Post subject: Re: PB64 - C64 Emulator [Win10/64bit]
PostPosted: Thu May 14, 2020 8:35 am 
Offline
Addict
Addict

Joined: Thu Apr 18, 2019 8:17 am
Posts: 1337
Interesting! Love the C64, so it's nice to see this.


Top
 Profile  
Reply with quote  
 Post subject: Re: PB64 - C64 Emulator [Win10/64bit]
PostPosted: Thu May 14, 2020 3:46 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Mar 17, 2014 1:42 pm
Posts: 123
Location: Brasil - São Paulo
Congratulations!

_________________
ZX Spectrum emulator (PureBasic)


Top
 Profile  
Reply with quote  
 Post subject: Re: PB64 - C64 Emulator [Win10/64bit]
PostPosted: Thu May 14, 2020 5:04 pm 
Offline
Moderator
Moderator
User avatar

Joined: Sat Apr 26, 2003 1:11 am
Posts: 1400
Bravo, very nice stuff !!!!

_________________
SPAMINATOR NR.1


Top
 Profile  
Reply with quote  
 Post subject: Re: PB64 - C64 Emulator [Win10/64bit]
PostPosted: Thu May 14, 2020 8:00 pm 
Offline
Always Here
Always Here

Joined: Sun Sep 07, 2008 12:45 pm
Posts: 5295
Location: Germany
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 :!:


Top
 Profile  
Reply with quote  
 Post subject: Re: PB64 - C64 Emulator [Win10/64bit]
PostPosted: Thu May 14, 2020 10:29 pm 
Offline
User
User

Joined: Sun Oct 09, 2011 7:39 am
Posts: 47
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:


Top
 Profile  
Reply with quote  
 Post subject: Re: PB64 - C64 Emulator [Win10/64bit]
PostPosted: Fri May 15, 2020 6:20 am 
Offline
Addict
Addict
User avatar

Joined: Thu Feb 09, 2006 11:27 pm
Posts: 2567
Cool idea, maybe going one step back in history would be also an interesting project the Pet 2001 :wink:


Top
 Profile  
Reply with quote  
 Post subject: Re: PB64 - C64 Emulator [Win10/64bit]
PostPosted: Fri Oct 30, 2020 4:30 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Aug 08, 2010 3:32 pm
Posts: 362
Location: Manchester UK
Very cool!

_________________
----

R Tape loading error, 0:1


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

All times are UTC + 1 hour


Who is online

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

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye