-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Hey there,
Just playing with C64 programming and discovered this super nice VSCode extension! 😍
I'm trying to run a simple hello world basic program to play with the debugger but after pressing F5 / CTRL+F5, the vice emulator opens, but it never launches my prg.
If I run it from the command line myself, it works.
The vice log is:
*** VICE Version 3.7.1 ***
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, June Tate-Gans, Pablo Roldan.
This is free software with ABSOLUTELY NO WARRANTY.
See the "About VICE" command for more info.
random seed was: 0x687fed0a
command line was: C:\code\c64\VICE-3.7.1-win64\x64sc.exe +remotemonitor -binarymonitor -binarymonitoraddress ip4://127.0.0.1:6502 -autostartprgmode 1 -logfile C:\code\c64\Hello\.vscode/vice.log
Loading system file `C:\code\c64\VICE-3.7.1-win64\C64\kernal-901227-03.bin'.
Loading system file `C:\code\c64\VICE-3.7.1-win64\C64\basic-901226-01.bin'.
Loading system file `C:\code\c64\VICE-3.7.1-win64\C64\chargen-901225-01.bin'.
Loading system file `C:\code\c64\VICE-3.7.1-win64\PRINTER\mps803.bin'.
Palette: Loading palette `C:\code\c64\VICE-3.7.1-win64\PRINTER\mps803.vpl'.
Loading system file `C:\code\c64\VICE-3.7.1-win64\PRINTER\nl10.bin'.
Palette: Loading palette `C:\code\c64\VICE-3.7.1-win64\PRINTER\nl10.vpl'.
NL10: Printer driver initialized.
Palette: Loading palette `C:\code\c64\VICE-3.7.1-win64\PRINTER\1520.vpl'.
Loading system file `C:\code\c64\VICE-3.7.1-win64\DRIVES\dos1540-325302+3-01.bin'.
Loading system file `C:\code\c64\VICE-3.7.1-win64\DRIVES\dos1541-325302-01+901229-05.bin'.
Loading system file `C:\code\c64\VICE-3.7.1-win64\DRIVES\dos1541ii-251968-03.bin'.
Loading system file `C:\code\c64\VICE-3.7.1-win64\DRIVES\dos1570-315090-01.bin'.
Loading system file `C:\code\c64\VICE-3.7.1-win64\DRIVES\dos1571-310654-05.bin'.
Loading system file `C:\code\c64\VICE-3.7.1-win64\DRIVES\dos1581-318045-02.bin'.
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:\code\c64\VICE-3.7.1-win64\DRIVES\dos2031-901484-03+05.bin'.
Loading system file `C:\code\c64\VICE-3.7.1-win64\DRIVES\dos2040-901468-06+07.bin'.
Loading system file `C:\code\c64\VICE-3.7.1-win64\DRIVES\dos3040-901468-11-13.bin'.
Loading system file `C:\code\c64\VICE-3.7.1-win64\DRIVES\dos4040-901468-14-16.bin'.
Loading system file `C:\code\c64\VICE-3.7.1-win64\DRIVES\dos1001-901887+8-01.bin'.
Loading system file `C:\code\c64\VICE-3.7.1-win64\DRIVES\dos9000-300516+7-revC.bin'.
Drive: Finished loading ROM images.
VIC-II: Initializing chip model "MOS8565" (63 cycles per line, 312 raster lines).
Sound: Available sound devices: wmm sdl dummy fs dump wav voc iff aiff mp3 flac ogg soundmovie
SDLJoystick: No joysticks found
MIDIdrv: init driver
MIDIdrv: found 0 sources
MIDIdrv: found 1 destinations
MIDIdrv: destination #0: Microsoft GS Wavetable Synth
SDLKeyboard: Loading hotkey map `C:\code\c64\VICE-3.7.1-win64\C64\sdl-hotkeys.vhk'.
SDLKeyboard: Warning - Failed to open `C:\Users\alexa\AppData\Roaming\vice\sdl-hotkeys-C64SC.vhk'.
Loading keymap `C:\code\c64\VICE-3.7.1-win64\C64\sdl_sym.vkm'.
SDLVideo: Available backends: direct3d direct3d11 direct3d12 opengl opengles2 software
SDLVideo: VSync is enabled.
SDLVideo: SDL2 backend driver selected: direct3d
SDLVideo: VICII (active) 768x544 32bpp
Main CPU: starting at ($FFFC).
Main CPU: RESET.
Sound: Opened device `wmm', speed 48000Hz, fragment size 2.67ms, buffer size 32.00ms
reSID: MOS8580, filter on, sampling rate 48000Hz - resampling, pass to 21600Hz
Sync reset
Unit 8: RESET.
Increasing trap_func array size to 1 with 1 to run
Sync reset
Main CPU: RESET.
Sync reset
Increasing trap_func array size to 1 with 1 to run
My project config is:
{
"name": "hello",
"description": "Project Hello",
"toolkit": "basic",
"sources": [
"src/hello.bas"
],
"build": "debug",
"definitions": [],
"includes": [],
"args": [],
"compiler": ""
}My .vscode\launch.json is:
{
"version": "0.2.0",
"configurations": [
{
"type": "vice",
"request": "launch",
"name": "Launch Vice",
"args": "-logfile ${fileDirname}/vice.log",
"preLaunchTask": "${defaultBuildTask}"
},
{
"type": "vice",
"request": "attach",
"name": "Attach Vice",
"hostname": "localhost",
"port": 6502,
"preLaunchTask": "${defaultBuildTask}"
}
]
}The prg is correctly built to build/hello.prg.
I have tried also with vice 3.9 without much success.
I must be doing something very stupid that I'm obviously missing.
Thoughts on a potential issue?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels