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


Forums > C64 Coding > How to change output from Vice 3.5
2020-12-29 14:34
Trap

Registered: Jul 2010
Posts: 222
How to change output from Vice 3.5

Hi,

So Groepaz kind nudge finally made me update my Vice to latest version. Some really nice stuff in there, but I wish I could make my own keyboard mapping.

Anyway, with this new version I get a lot of unwanted output when I compile through my Sublime setup.

First I get the memory layout table (which is what I want to see), but after that is shown I get all this:

*** VICE Version 3.5 ***
 
Welcome to x64sc, the free portable C64 Emulator.
 
Current VICE team members:
Martin Pottendorfer, Marco van den Heuvel, Fabrizio Gennari, Groepaz, 
Errol Smith, Ingo Korb, Olaf Seibert, Marcus Sutton, Kajtar Zsolt, AreaScout, 
Bas Wassink, Michael C. Martin, Christopher Phillips, David Hogan, 
Empathic Qubit, Roberto Muscedere.
 
This is free software with ABSOLUTELY NO WARRANTY.
See the "About VICE" command for more info.
 
Loading system file `C:\c64\Tools\Vice\bin\..\C64\kernal'.
Loading system file `C:\c64\Tools\Vice\bin\..\C64\basic'.
Loading system file `C:\c64\Tools\Vice\bin\..\C64\chargen'.
Loading system file `C:\c64\Tools\Vice\bin\..\PRINTER\mps803'.
Palette: Loading palette `C:\c64\Tools\Vice\bin\..\PRINTER\mps803.vpl'.
Loading system file `C:\c64\Tools\Vice\bin\..\PRINTER\nl10-cbm'.
Palette: Loading palette `C:\c64\Tools\Vice\bin\..\PRINTER\nl10.vpl'.
NL10: Printer driver initialized.
Palette: Loading palette `C:\c64\Tools\Vice\bin\..\PRINTER\1520.vpl'.
Loading system file `C:\c64\Tools\Vice\bin\..\DRIVES\dos1540'.
Loading system file `C:\c64\Tools\Vice\bin\..\DRIVES\dos1541'.
Loading system file `C:\c64\Tools\Vice\bin\..\DRIVES\d1541II'.
Loading system file `C:\c64\Tools\Vice\bin\..\DRIVES\dos1570'.
Loading system file `C:\c64\Tools\Vice\bin\..\DRIVES\dos1571'.
Loading system file `C:\c64\Tools\Vice\bin\..\DRIVES\dos1581'.
DriveROM: Error - 2000 ROM image not found. Hardware-level 2000 emulation is not available.
DriveROM: Error - 4000 ROM image not found. Hardware-level 4000 emulation is not available.
DriveROM: Error - CMDHD ROM image not found. Hardware-level CMDHD emulation is not available.
Loading system file `C:\c64\Tools\Vice\bin\..\DRIVES\dos2031'.
Loading system file `C:\c64\Tools\Vice\bin\..\DRIVES\dos2040'.
Loading system file `C:\c64\Tools\Vice\bin\..\DRIVES\dos3040'.
Loading system file `C:\c64\Tools\Vice\bin\..\DRIVES\dos4040'.
Loading system file `C:\c64\Tools\Vice\bin\..\DRIVES\dos1001'.
Loading system file `C:\c64\Tools\Vice\bin\..\DRIVES\dos9000'.
Drive: Finished loading ROM images.
VIC-II: Initializing chip model "MOS8565" (63 cycles per line, 312 raster lines).
using GTK3 backend: DirectX
Created render thread 0
Render thread initialised
Palette: Loading palette `C:\c64\Tools\Vice\bin\..\C64\pepto-pal.vpl'.
Palette: Loading palette `C:\c64\Tools\Vice\bin\..\C64\pepto-pal.vpl'.
Sound: Available sound devices: dx wmm dummy fs dump wav voc iff aiff mp3 flac ogg soundmovie
Keyboard: Loading keymap `C:\c64\Tools\Vice\bin\..\C64\gtk3_sym.vkm'.
Keyboard: Warning - gtk3_sym.vkm: !LCBM !VCBM !LCTRL !VCTRL not defined.
AUTOSTART: Autodetecting image type of `C:\Users\Jesper\Desktop\Main.prg'.
Filesystem Image Probe: Error - Import GCR: Unknown GCR image version 48.
Filesystem Image: Unknown disk image `C:\Users\Jesper\Desktop\Main.prg'.
Tape: Error - Cannot open file `C:\Users\Jesper\Desktop\Main.prg'
Error - CRT header invalid.
CART: 'C:\Users\Jesper\Desktop\Main.prg' is not a valid CRT file.
AUTOSTART: Loading PRG file `C:\Users\Jesper\Desktop\Main.prg' with direct RAM injection.
AUTOSTART: Resetting the machine to autostart '*'
VIC-II: VSP Bug: safe channels are: 123467. Emulation of memory corruption is disabled.
AUTOSTART: Turning Warp mode on
AUTOSTART: `C:\Users\Jesper\Desktop\Main.prg' recognized as program/p00 file.
Main CPU: starting at ($FFFC).
Main CPU: RESET.
Sound: Opened device `dx', speed 44100Hz, fragment size 2.90ms, buffer size 26.12ms
reSID: MOS8580, filter on, sampling rate 44100Hz - resampling, pass to 19845Hz
Unit 8: RESET.
AUTOSTART: Injecting program data at $0801 (size $77ff)
AUTOSTART: Ready
AUTOSTART: Turning Warp mode off
AUTOSTART: Starting program.
AUTOSTART: Restoring FileSystemDevice8 to 1.
AUTOSTART: Restoring FSDevice8ConvertP00 to 1.
AUTOSTART: Done.
Initiating render thread 0 shutdown
Joining render thread 0 ...
Render thread shutdown
Joined render thread 0.
VICE thread initiating shutdown
VICE thread is exiting
VICE thread has been joined.
VIC-II: VSP Bug: safe channels are: 023456. Emulation of memory corruption is disabled.
Sound: Closing device `dx'


As interesting as it may seem, for me - the common - user, I don't really want this. Is there a parameter or setting I can change to stop this from being output?

Thank you.

/Trap
2020-12-29 14:41
chatGPZ

Registered: Dec 2001
Posts: 11101
no, you can only redirect stdout to NULL (but you'll also loose any other log output)

I am surprised its a problem now though - VICE has always been doing this, since forever :) In windows it usually ends up nowhere though, because windows detaches the process from the running terminal - seems sublime catches stdout correctly then.

(not sure what "memory layout table" you are referring to though... did you compile a debug version and what you mean is the VICII timing table?)

You can make your own keyboard mapping by changing the respective .vkm file
2020-12-29 14:46
Trap

Registered: Jul 2010
Posts: 222
The other output I get is from KickAss. Not sure that helps you. Maybe this is related to how Sublime is setup. I'm a bit confused.
2020-12-29 14:52
Compyx

Registered: Jan 2005
Posts: 631
VICE has a -silent option, which, at least on Linux doesn't output the text mentioned above.
2020-12-29 14:53
chatGPZ

Registered: Dec 2001
Posts: 11101
aaaaah ok

so i guess you have some kind of makefile/batchfile to start up kickass and then x64sc? in that case change the x64sc commandline to:

x64sc <other options> >NUL 2>&1

that will make it shut up. if you want to preserve the log, you can use something like

x64sc <other options> -logfile foo.txt >NUL 2>&1

Quote:

VICE has a -silent option

FFFUFUFUUFUUUU =D And IIRC it was me who implemented it. LOL
2020-12-29 15:00
Compyx

Registered: Jan 2005
Posts: 631
Haha.

With -silent I still see
VICE_DOCDIR = '/usr/local/share/doc/vice'

So I guess I'll need to fix that, using a proper log_foo() call.
2020-12-29 16:35
Count Zero

Registered: Jan 2003
Posts: 1820
Quote:

FFFUFUFUUFUUUU =D And IIRC it was me who implemented it. LOL


Just 789 (!!!) cmdline options on x64sc and you keep forgetting them... tse
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
Guests online: 76
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 Wafer Demo  (9.5)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Onscreen 5k  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Graphicians
1 Sulevi  (10)
2 Mirage  (9.8)
3 Lobo  (9.7)
4 Mikael  (9.7)
5 Archmage  (9.7)

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