Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in 
CSDb User Forums


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

Registered: Jul 2010
Posts: 195
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
Groepaz

Registered: Dec 2001
Posts: 9716
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: 195
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: 598
VICE has a -silent option, which, at least on Linux doesn't output the text mentioned above.
2020-12-29 14:53
Groepaz

Registered: Dec 2001
Posts: 9716
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: 598
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: 1224
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
Knut Clausen/SHAPE/F..
Brittle/Demozoo
Jak T Rip/DMAgic
sailor/Triad
DuncanTwain
Nordischsound/Hokuto..
Impetigo/Crescent
JCH/Vibrants
Andy/AEG Soft
Mikael/Pretzel Logic
Guests online: 68
Top Demos
1 Christmas Megademo  (9.7)
2 Uncensored  (9.6)
3 Edge of Disgrace  (9.6)
4 Unboxed  (9.6)
5 Coma Light 13  (9.6)
6 Memento Mori  (9.6)
7 Lunatico  (9.6)
8 Comaland 100%  (9.6)
9 The Shores of Reflec..  (9.5)
10 Protogeo 100%  (9.5)
Top onefile Demos
1 Copper Booze  (9.8)
2 To Norah  (9.8)
3 Lovecats  (9.6)
4 Elite Code Mechanics  (9.6)
5 The Sprite Demo  (9.6)
6 Square Booze  (9.5)
7 Daah, Those Acid Pil..  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Hyperborea  (9.5)
Top Groups
1 Booze Design  (9.4)
2 Censor Design  (9.4)
3 Fossil  (9.4)
4 Oxyron  (9.3)
5 PriorArt  (9.3)
Top Musicians
1 Rob Hubbard  (9.8)
2 Jeroen Tel  (9.6)
3 Linus  (9.5)
4 Drax  (9.5)
5 Martin Galway  (9.5)

Home - Disclaimer
Copyright © No Name 2001-2021
Page generated in: 0.071 sec.