Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Harvey ! (Registered 2024-11-25) You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > How to run IDE64 programs in VICE?
2010-04-08 09:42
Mace

Registered: May 2002
Posts: 1799
How to run IDE64 programs in VICE?

In WinVICE, it is possible to attach a *.hdd file in the IDE64 settings menu.
IDE64 files in CSDb come without such a file, so I was wondering how I could start IDE64 stuff in (Win)VICE.
Do I need to put those file in a new *.hdd file and if so, how?

Can't be hard.. right?

[edit]
Oh, hang on... I just found this:
VICE_IDE64_HOWTO
----------------
Revision 2003-01-15

VICE information: http://viceteam.bei.t-online.de/
IDE64 information: http://ide64.come.to/ (http://www.volny.cz/dundera/)
 
How to enable IDE64 controller emulation in VICE
------------------------------------------------
Drive settings -> Disable true drive emulation
Attach a cartridge image -> Attach IDE64 interface image...
=> select IDE64 ROM file  (available from http://ide64.come.to -> IDE64 firmware)
Attach a cartridge image -> Set cartridge as default

In IDE64 Setup (start by pressing  '<-' 'RESTORE'  {'~' 'Pg Up' on US keyboard})
-> standard setup -> Disable Floppy speeder

Load "format" tool (available from http://ide64.come.to -> Download) into VICE
(x64 format4.prg) and follow instruction on the screen
 
The IDE64 harddrive is created in current directory path as file 'ide.hdd'

After the format is finished, the IDE64 harddrive is ready for use.

More information available at http://ide64.come.to/ -> Manual

-----------------------------------
2010-04-08 09:57
chatGPZ

Registered: Dec 2001
Posts: 11359
"Drive settings -> Disable true drive emulation"

that shouldnt be necessary in any way :) (you can use a 1541 and ide64 at the same time, right? :))
2010-04-08 09:59
Mace

Registered: May 2002
Posts: 1799
OK... that worked, so far.
Now how do I get those files on the virtual HDD?
2010-04-08 10:18
Grue

Registered: Dec 2001
Posts: 161
for starters you should get recent rom version

here: http://singularcrew.hu/idedos/

in the rom package there is cfsfdisk tool to create new partition, it also formats the created drive.

Theres also excellent pdf manual for all the questions you might have, like information that you need to enable direct write from ide system menu to actually be able to create new partitions..

Have fun!
2010-04-08 11:42
iAN CooG

Registered: May 2002
Posts: 3187
disable TDE and enable virtualdevraps (+truedrive -virtualdev), use command MAN to copy files from the host filesystem (fdd0, sees current directory on the host fs) to hdd0. C= (left ctrl on pc) to select drive, CTRL (tab on PC) to toggle active filepanel, ins (backspace) to tag files, "5" to copy. Almost exactly as in any NC-like filemanager =)
2010-04-08 13:35
Mace

Registered: May 2002
Posts: 1799
Yay, it works :-)
Thanks, guys, now finally I can add some screenshots to IDE64 entries in CSDb.
2015-02-16 20:44
mstram
Account closed

Registered: Dec 2013
Posts: 112
I've tried both IDEDOS 0.90 and 0.91, with Vice 2.45 / 2.4.16

How do I get the setup / "Direct Write" setting to "stick" ?

After changing the setting, then either resetting the emulator or running a program with file/autostart, the direct write reverts to disabled.

I guess the workaround is to just use the sample ide.hdd file and make copies of it.
2015-02-16 21:19
soci

Registered: Sep 2003
Posts: 479
Quoting mstram
How do I get the setup / "Direct Write" setting to "stick" ?

After changing the setting, then either resetting the emulator or running a program with file/autostart, the direct write reverts to disabled.


That's the only thing which is non-permanent, by design. Once you've formatted the disk you don't need it.

Normally what you do is to load cfsfdisk, then go to setup, enable direct write, exit setup, run cfsdisk. No reset in between.
2015-02-16 21:37
soci

Registered: Sep 2003
Posts: 479
Quoting Mace
Now how do I get those files on the virtual HDD?


Fastest is to mount the image file with fusecfs. (Linux, BSD, etc.)

http://singularcrew.hu/idedos/fusecfs-1.8.2.tar.bz2

You can also create an ISO file with all the stuff and attach it. VICE will emulate a DVD drive and you can access the files inside the image with IDEDOS. (do not disable the Joilet extension or else filenames might be short)

Alternatively you can enable the USB server option (needs recent VICE) with an emulated V4.1 cartridge. At the same time start ideserv with "-m vice" option.

This will give you an USB pclink connection and you can copy stuff from/to the exported directory just like on a real C64.

http://singularcrew.hu/idedos/ideserv-0.29c-20150214.zip

If you use 0.91 then you don't even need to copy stuff to the HDD except in very exceptional cases as the protocol supports seeking over PCLink. (this is not available with 0.90)
2015-02-16 22:00
mstram
Account closed

Registered: Dec 2013
Posts: 112
When is the ide.hdd file created ?

I followed the instructions in the VICE_IDE64_HOWTO, but the file was not created.
2015-02-16 22:21
soci

Registered: Sep 2003
Posts: 479
A newer version of the howto is here:
http://ide64.org/vice_ide64_howto_rev2.txt

However the image file is not created any more in newer VICE versions.

There are many possibilities to create an image file.

You can use "dd if=/dev/zero of=ide.cfa count={somenumber}". Or "qemu-img create ide.cfa 100M". Or "truncate -s {size} ide.cfa". Or use a dumped raw image of some drive.

A somewhat less professional way is to take some big file (e.g. a video) and make a copy named "ide.cfa".

In all cases you need to format it at the end anyway ;)

There's one important thing. The current emulation does not go beyond 2Gb, so do not use a huge image file.
 
... 5 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Snabel
Mike
Alakran_64
Ghost/Quantum
iAN CooG/HVSC
psych
katon/Lepsi De
Endurion
Picrard/Mayday
Six/G★P
Linus/MSL
2bt
REBEL 1/HF
EALL/HT
Mason/Unicess
Guests online: 97
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 The Demo Coder  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Wonderland XIV  (9.6)
10 Comaland 100%  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Triad  (9.2)
Top Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Mutetus  (9.7)
4 Jammer  (9.6)
5 Linus  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.059 sec.