dirkwhoffmann / virtualc64

VirtualC64 is a cycle-accurate C64 emulator for macOS
https://dirkwhoffmann.github.io/virtualc64
Other
351 stars 33 forks source link

emulate REU RAM and SuperCPU expanded RAM #735

Closed DannyCork closed 1 year ago

DannyCork commented 2 years ago

It would be great if Virtualc64 could emulate REU RAM and SuperCPU expanded RAM.

I would like to run a program but it requires this ram expansion.

"Only REU RAM and SuperCPU expanded RAM are currently supported at this time. If you don't have any such RAM, there are a few modern cartridges currently being sold that provide an emulated solution (like the 1541 Ultimate II+). C64 emulators like VICE also support REU emulation"

DNSGeek commented 1 year ago

Yes, please. I also have Vision BASIC and would love to use it in Virtual64.

dirkwhoffmann commented 1 year ago

v4.6 will support the 1764 REU (256KB):

Bildschirm­foto 2022-12-26 um 09 11 03 Bildschirm­foto 2022-12-26 um 09 23 42
DNSGeek commented 1 year ago

Whoa, that is sweet! I’m stoked!On Dec 26, 2022, at 2:32 AM, Dirk Hoffmann @.***> wrote: v4.6 will support the 1764 REU (256KB):

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

dirkwhoffmann commented 1 year ago

I can't get Vision BASIC to run in VICE (version 3.6.1).

First attempt: Attached a REU with 512 KB and dragged the Vision BASIC file into the emulator.

Result: CPU JAM at $8F08

Bildschirm­foto 2022-12-30 um 10 02 11

Second attempt: Attached a REU with 512 KB. Mounted the Vision BASIC disk via the menu and typed LOAD "*",8,1.

Result: Out of memory

Bildschirm­foto 2022-12-30 um 10 04 48
DNSGeek commented 1 year ago

You have to use NTSC mode. It will not work in PAL mode. >=256 REU.  On Dec 30, 2022, at 3:11 AM, Dirk Hoffmann @.***> wrote: I can't get Vision BASIC to run in VICE (version 3.6.1). First attempt: Attached a REU with 512 KB and dragged the Vision BASIC file into the emulator. Result: CPU JAM at $8F08

Second attempt: Attached a REU with 512 KB. Mounted the Vision BASIC disk via the menu and typed LOAD "*",8,1. Result: Out of memory

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

dirkwhoffmann commented 1 year ago

You have to use NTSC mode.

Oh yes, now I remember that I've been told this before...

Looks much better now:

Bildschirm­foto 2022-12-30 um 14 22 28
DNSGeek commented 1 year ago

Wow, that looks amazing. Thank you!On Dec 30, 2022, at 7:27 AM, Dirk Hoffmann @.***> wrote:

You have to use NTSC mode.

Oh yes, now I remember that I've been told this before... Looks much better now:

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

dirkwhoffmann commented 1 year ago

Got it to work in VirtualC64, too. However, it only works with the REU 1750 at the moment. The REU 1764 is not emulated properly as it mirrors the lower 256 KB in the upper 256 KB range which is wrong. When reading from unmapped memory, the latest valid bus value has to be returned.

Bildschirm­foto 2022-12-30 um 14 34 59
dirkwhoffmann commented 1 year ago

v4.6b1 is online.

DNSGeek commented 1 year ago

When I set the power supply freq to 60 stable and attach a 1750, I still can't run VB. Am I missing an additional setting?

dirkwhoffmann commented 1 year ago
Bildschirm­foto 2023-01-06 um 17 29 32

It doesn't seem to work with the original 256KB REU which is most likely a bug in VirtualC64.