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


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

Registered: Nov 2008
Posts: 210
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: 210
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: 210
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: 39
Hey xIII, start coding again!!! ;-) We are waiting for you!
2021-02-08 12:07
Case

Registered: Aug 2002
Posts: 138
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.
2021-03-06 16:32
cbmeeks

Registered: Oct 2005
Posts: 72
Something else to consider is using KickAssembler 5.13 and not the latest version.

The latest version breaks all kinds of stuff with the Kick plugin for VSC.

me
http://meeks.co
2021-03-06 16:38
Krill

Registered: Apr 2002
Posts: 2852
"The latest [KickAss] version breaks all kinds of stuff with the Kick plugin for VSC."

Nice try shifting blame here. :D
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
Jupp3/Monolith Resis..
Soya/Fairlight
Aki
Steffan/BOOM!
Bud/Warriors of the ..
iceout/Avatar/HF
.jetan/AI-supported ..
Apollyon/ALD
Guests online: 131
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 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Fullscreen Graphicians
1 Carrion  (9.8)
2 Joe  (9.8)
3 Duce  (9.8)
4 Mirage  (9.7)
5 Facet  (9.7)

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