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


Forums > C64 Coding > Visual Studio Code
2021-02-05 20:35
xIII

Registered: Nov 2008
Posts: 196
Visual Studio Code

I switched to Visual Studio Code today.
I watched a youtube video on how to install java, kickassembler, Vice and C64Debugger.

I use this little test:
* = $0801
BasicUpstart2(Entry)

* = $0810 "Start"

Entry:
    inc $d020
    inc $d021
    jmp Entry


When I press F6 (build and run) the prg is succecfully build but it won't start Vice. Do I need to fill in ths field: 'Runtime options for your emulator' ??

Also Shift+F6 (build and debug) starts C64Debugger and loads the .prg but it doesn't start it...
These are the prefilled runtime options for the debugger '-wait 2500 -autojmp', do I need other/more options ?

thx for any help.
2021-02-06 12:41
xIII

Registered: Nov 2008
Posts: 196
Nobody knows ?
2021-02-06 13:34
Devia

Registered: Oct 2004
Posts: 401
Both of your *= are actually redundant. Take a look at the macro definition for BasicUpstart2 in the autoinclude.asm file inside the KickAss.jar file.
That aside, it works regardless.
I'm assuming you're using Paul Hocker's extension for VSCode, so make sure that all your paths are fully defined paths to the relevant exe files without any env expansions or quote chars.
No options are required to be specified, but for e.g. Vice, the relevant config file for your pointed to Vice installation is being used, so check it's autostart settings.
2021-02-06 15:41
xIII

Registered: Nov 2008
Posts: 196
Thx Devia!

I know about the *=, its just a (good?) habbit :)

I installed Vice 3.5 (instead of 3.1) and linked to fullpath\x64sc.exe and it works...

In C64Debugger I do a Hard Reset and reload the prg with ctrl+l and it also works ...

so I guess Doc will ask me to start coding again :p
2021-02-07 00:47
Dr.Science

Registered: Oct 2011
Posts: 35
Hey xIII, start coding again!!! ;-) We are waiting for you!
2021-02-08 12:07
Case

Registered: Aug 2002
Posts: 110
you need to make sure you have the exact paths to the following:

vice
kickass java-file
debugger
java runtime

for me i had to make sure the drive letters were all lower case for them to work.
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
Earthshaker/Silicon ..
icon/The Silents, Sp..
grass/LETHARGY
Six/G★P
Black Beard/Abyss, A..
Skyhawk/Triad
Scrapper
Thunder.Bird/HF/MYD!..
tNG/FairLight
Twilight/ExCeSs
Bieno/Commodore Plus
Rex/Camelot
Fabs/Hokuto Force
HCL/Booze Design
Guests online: 57
Top Demos
1 Uncensored  (9.6)
2 Edge of Disgrace  (9.6)
3 Unboxed  (9.6)
4 Coma Light 13  (9.6)
5 Christmas Megademo  (9.6)
6 Thirty  (9.6)
7 Memento Mori  (9.6)
8 Lunatico  (9.6)
9 Comaland 100%  (9.6)
10 The Shores of Reflec..  (9.5)
Top onefile Demos
1 Copper Booze  (9.8)
2 To Norah  (9.8)
3 Transmission64 Invit..  (9.7)
4 Lovecats  (9.6)
5 Elite Code Mechanics  (9.6)
6 Catwalk  (9.6)
7 Square Booze  (9.5)
8 Daah, Those Acid Pil..  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Booze Design  (9.4)
2 Fossil  (9.4)
3 Censor Design  (9.3)
4 Oxyron  (9.3)
5 PriorArt  (9.3)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Horizon  (9.9)
3 Stormbringer  (9.7)
4 Fungus  (9.5)
5 Grim Reaper  (9.3)

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