Difference between revisions of "Build VICE with SDL2 Interface"

From Jay's Cafe' Wiki
m
m
Line 69: Line 69:
Configure and build
Configure and build
<pre>
<pre>
configure --enable-ethernet --enable-realdevice --enable-sdlui2 --enable-vte --enable-hardsid --enable-cpuhistory --enable-platformdox  --with-xaw3d --with-uithreads --with-x  
./configure --enable-ethernet --enable-realdevice --enable-sdlui2 --enable-vte --enable-hardsid --enable-cpuhistory --enable-platformdox  --with-xaw3d --with-uithreads --with-x  
make -j 6
make -j 6
sudo make install
sudo make install

Revision as of 14:48, 27 June 2018

--ks.cfg--

#Generated by Kickstart Configurator
#platform=AMD64 or Intel EM64T

#System language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse
mouse
#System timezone
timezone America/Chicago
#Root password
rootpw --disabled
#Initial user
user jay --fullname "Jay C. Theriot" --iscrypted --password $1$4GAV/R2I$nbxnqpHc0DOG4045rLpYy1
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use CDROM installation media
cdrom
#System bootloader configuration
bootloader --location=mbr 
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel 
#Disk partitioning information
part / --fstype ext4 --size 1 --grow --asprimary 
part swap --size 2048 
#System authorization infomation
auth  --useshadow  --enablemd5 
#Network information
#network --bootproto=dhcp --device=eth0
#Firewall configuration
firewall --disabled 
url --url http://archive.ubuntu.com/ubuntu
#preseed proxy
preseed mirror/http/proxy string http://192.168.49.12:3142
#Do not configure the X Window System
skipx
#Package install information
%packages
openssh-server
vim-nox
vim-scripts
exuberant-ctags
xa65
bison 
flex
libpcap*
libxaw7-dev
libxaw3dxft8-dev
build-essential
net-tools

Install prerequisites

sudo apt install xa65 bison flex libpcap* libxaw7-dev libxaw3dxft8-dev
sudo apt install libsdl2-dev 

Configure and build

./configure --enable-ethernet --enable-realdevice --enable-sdlui2 --enable-vte --enable-hardsid --enable-cpuhistory --enable-platformdox  --with-xaw3d --with-uithreads --with-x 
make -j 6
sudo make install

Needs X-server to run.

sudo tasksel

Select XUbuntu minimal Install and reboot

  • I like tasksel. It allows me to be lazy

Needs SDLVideo Renderer. opengl opengles2 software


SDLJoystick: No joysticks found
SDLKeyboard: Loading hotkey map `/usr/local/lib64/vice/C64/sdl_hotkeys.vkm'.
SDLKeyboard: Warning - Failed to open `/home/jay/.vice/sdl-hotkey-C64.vkm'.
Keyboard: Loading keymap `/usr/local/lib64/vice/C64/sdl_sym.vkm'.
SDLVideo: Available Renderers: opengl opengles2 software 
Segmentation fault (core dumped)
jay@vm-C64Build01:~$ 

I think the problem is that I was doing this on a kvm-qemu vm with no graphics card. I'm going to try again on a spare metal 990.