How do I use .D64 disk images? Trying to get GEOS started in emulator

Chat about anything CX16 related that doesn't fit elsewhere
Bram Doornbos
Posts: 1
Joined: Mon Sep 21, 2020 9:47 am

How do I use .D64 disk images? Trying to get GEOS started in emulator

Post by Bram Doornbos »


Hello everyone,

Just as a curiosity I try to start GEOS as it was mentioned on the FAQ and I do have the disk images here.

But I could not find a way to mount D64 disk images within the emulator. Maybe I overlooked a command.

Right now I am stuck with a message "please insert a disk with deskTop V1.5 or higher".

I hope someone can tell me how to do this.

Best regards and thanks in advance,

Bram Doornbos

 

Ender
Posts: 220
Joined: Sat May 09, 2020 9:32 pm

How do I use .D64 disk images? Trying to get GEOS started in emulator

Post by Ender »


You should be able to mount it by just running the emulator with "-sdcard APPS64.D64".  Keep in mind though, GEOS is only in a semi-working state right now.  All the apps from DeskTop fail to load with disk read failures, at least, in my experience.

SerErris
Posts: 172
Joined: Sat Aug 08, 2020 9:18 am

How do I use .D64 disk images? Trying to get GEOS started in emulator

Post by SerErris »


No that will not work .. (at least not if this is not an undocumented feature). -sdcard does accept a fat32 .img file ... not a D64 image file.

 

AFAIK you cannot mount D64 images at all. 

Workaround: Take all the files and put it directly in a directory (inside the x64emu). You can extract all the files with DirMaster

User avatar
desertfish
Posts: 1094
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

How do I use .D64 disk images? Trying to get GEOS started in emulator

Post by desertfish »


If you need a cross platform solution for that, the VICE c64 emulator also comes with a tool,  c1541,  that can extract/update/create D64 disk images.

Ender
Posts: 220
Joined: Sat May 09, 2020 9:32 pm

How do I use .D64 disk images? Trying to get GEOS started in emulator

Post by Ender »



6 hours ago, SerErris said:




No that will not work .. (at least not if this is not an undocumented feature). -sdcard does accept a fat32 .img file ... not a D64 image file.

 



AFAIK you cannot mount D64 images at all. 



Workaround: Take all the files and put it directly in a directory (inside the x64emu). You can extract all the files with DirMaster



It does work, though. I tried it again before making my post. There's glue code in DOS specifically for supporting GEOS.

SerErris
Posts: 172
Joined: Sat Aug 08, 2020 9:18 am

How do I use .D64 disk images? Trying to get GEOS started in emulator

Post by SerErris »


Is this generic support for D64 which is just not documented? 

Confused now.

Ender
Posts: 220
Joined: Sat May 09, 2020 9:32 pm

How do I use .D64 disk images? Trying to get GEOS started in emulator

Post by Ender »



38 minutes ago, SerErris said:




Is this generic support for D64 which is just not documented? 



Confused now.



As far as I understand it, the glue code intercepts GEOS's load calls and translates them into something the fat32 driver understands. It's not general D64 support, it just allows GEOS to load from the disk. You can see it in dos/geos.s in the rom code.

RobertJG60
Posts: 4
Joined: Wed Jan 06, 2021 11:11 am

How do I use .D64 disk images? Trying to get GEOS started in emulator

Post by RobertJG60 »


how do you get c64 files off a .d64 and onto a sdcard image?

User avatar
desertfish
Posts: 1094
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

How do I use .D64 disk images? Trying to get GEOS started in emulator

Post by desertfish »


Combine the tool that I mentioned a few comments up on this page, and the info from this thread:


 

Iegen
Posts: 5
Joined: Wed Oct 12, 2022 7:29 pm

How do I use .D64 disk images? Trying to get GEOS started in emulator

Post by Iegen »


I know this thread has been inactive for a while, however like the OP said I'm trying to get GEOS to run on the X16 using the BASIC command GEOS.  I have D81 and D64 versions of GEOS that run on the C64.  I have tried to copy the files to a VHD drive as suggested above.  My question is the original D64/D81 files have USR and PRG files.  When you extract the files using c1541 from VICE using the extract or geoextract commands you lose the USR type files because when you copy the files to the VHD, they all have the PRG extension.   On another point, the memory maps between the C64 and X16 are different, so running the boot loader from the disk probably won't work ... am I correct on that point?

Thank you in Advance for your suggestions/advice.

 

Post Reply