[Solved] VICE C64 emulator fails

Desktop Environments and Multimedia
Post Reply
Message
Author
User avatar
Hallvor
Posts: 1189
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 4 times
Been thanked: 2 times

[Solved] VICE C64 emulator fails

#1 Post by Hallvor »

I am having a small exhibition of historical development in gaming, and would very much like VICE to work. However, when trying to launch the C64 emulator, the following happens:

Code: Select all

hallvor@debian-mini:~$ x64
ffmpeg avformat lib has version 3a1464, VICE expects 3a1464: full match
ffmpeg  avcodec lib has version 3a2364, VICE expects 3a2364: full match
ffmpeg   avutil lib has version 381664, VICE expects 381664: full match
ffmpeg  swscale lib has version 050364, VICE expects 050364: full match
ffmpeg swresample lib has version 030364, VICE expects 030364: full match
Detecting ISA HardSID boards.
Could not open '/dev/port'.
Cannot get permission to access $300.
Detecting PCI HardSID boards.
No PCI HardSID boards found.
Detecting PCI CatWeasel boards.
No PCI CatWeasel found.
Detecting direct I/O ISA SSI2001.
Could not open '/dev/port'.
Cannot get permission to access $280.
 
*** VICE Version 3.3 ***
 
Welcome to x64, the free portable C64 Emulator.
 
Current VICE team members:
Marco van den Heuvel, Fabrizio Gennari, Groepaz, Olaf Seibert, Marcus Sutton, 
Kajtar Zsolt, AreaScout, Bas Wassink, Michael C. Martin.
 
This is free software with ABSOLUTELY NO WARRANTY.
See the "About VICE" command for more info.
 
C64MEM: Error - Couldn't load kernal ROM `kernal'.
Error - Machine initialization failed.

Exiting...
hallvor@debian-mini:~$
Does anyone know where to go from here?
Last edited by Hallvor on 2020-01-21 13:35, edited 1 time in total.
Lenovo ThinkPad T440S, Intel Core i7-4600U CPU @ 2.10GHz, 8 GB RAM, 256 GB SSD, Debian Bullseye (KDE)
Lenovo ThinkPad X240, Intel Core i5-4300U CPU @ 2.90GHz, 8 GB RAM, 120 GB SSD, Debian Bullseye (KDE)

User avatar
Head_on_a_Stick
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: VICE C64 emulator fails

#2 Post by Head_on_a_Stick »

Try adding your user to the kmem group.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support

User avatar
Hallvor
Posts: 1189
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 4 times
Been thanked: 2 times

Re: VICE C64 emulator fails

#3 Post by Hallvor »

Thanks, but that did not work. Same error. I read somewhere that I need something non-free to make it work, but have no idea where to even begin.

I have a backup computer with a different OS with working VICE, but I would prefer to use Debian for stability.
Lenovo ThinkPad T440S, Intel Core i7-4600U CPU @ 2.10GHz, 8 GB RAM, 256 GB SSD, Debian Bullseye (KDE)
Lenovo ThinkPad X240, Intel Core i5-4300U CPU @ 2.90GHz, 8 GB RAM, 120 GB SSD, Debian Bullseye (KDE)

User avatar
Hallvor
Posts: 1189
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 4 times
Been thanked: 2 times

Re: VICE C64 emulator fails

#4 Post by Hallvor »

Well, that was not straight forward...

Code: Select all

cd /usr/lib/vice

Code: Select all

mkdir temp

Code: Select all

cd temp

Code: Select all

wget http://www.zimmers.net/anonftp/pub/cbm/crossplatform/emulators/VICE/vice-2.4.tar.gz

Code: Select all

tar vzxf vice-2.4.tar.gz

Copy the ROM

Code: Select all

cd /usr/lib/vice/temp/vice-2.4/data/C64/

Code: Select all

cp basic chargen kernal /usr/lib/vice/C64/
Copy the drive ROMs

Code: Select all

cd /usr/lib/vice/temp/vice-2.4/data/DRIVES/

Code: Select all

cp d1541II d1571cr dos* /usr/lib/vice/DRIVES/
Copy the printer ROMS

Code: Select all

cd /usr/lib/vice/temp/vice-2.4/data/PRINTER/

Code: Select all

cp cbm1526 mps801  mps803 nl10-cbm /usr/lib/vice/PRINTER/
Delete temp directory

Code: Select all

rm -rf /usr/lib/vice/temp
Lenovo ThinkPad T440S, Intel Core i7-4600U CPU @ 2.10GHz, 8 GB RAM, 256 GB SSD, Debian Bullseye (KDE)
Lenovo ThinkPad X240, Intel Core i5-4300U CPU @ 2.90GHz, 8 GB RAM, 120 GB SSD, Debian Bullseye (KDE)

Post Reply