Z88dk visual studio

The place for codemasters or beginners to talk about programming any language for the Spectrum.
Post Reply
Wall_Axe
Manic Miner
Posts: 500
Joined: Mon Nov 13, 2017 11:13 pm

Z88dk visual studio

Post by Wall_Axe »

I'm new to visual studio and z88dk

In the folder there seems to be a vsbuild file
Does anyone know how to use it ,or if it's a good idea to?
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Z88dk visual studio

Post by PeterJ »

Wall_Axe
Manic Miner
Posts: 500
Joined: Mon Nov 13, 2017 11:13 pm

Re: Z88dk visual studio

Post by Wall_Axe »

Yeah thanks
SabreWulf
Drutt
Posts: 13
Joined: Tue Mar 14, 2023 11:30 am

Re: Z88dk visual studio

Post by SabreWulf »

That z88dk forum post now has a broken link. Are there any other recommended resources?
dom
Drutt
Posts: 11
Joined: Sun Feb 10, 2019 11:08 am

Re: Z88dk visual studio

Post by dom »

The vsbuild stuff is for building the binaries, so you probably don't want to use that.

The link was to setting up vscode and has moved to here: https://bluebilby.com/developing-for-vz-part-2/

However, there's also this using vscode/clion: https://github.com/speccytools/z88dk-gdb-ide-test which includes source level debugging.
andydansby
Microbot
Posts: 148
Joined: Fri Nov 24, 2017 5:09 pm
Location: Syracuse, NY, USA
Contact:

Re: Z88dk visual studio

Post by andydansby »

@Wall_Axe , I know that you were interested in using VS, but may I suggest an alternative. Try using CodeBlocks https://www.codeblocks.org/. I found it less laggy than VS for the same functionality. You can integrate C++Check, DoxyBlocks along with other tools. You can also use ASM sources within you codeblocks code if you desire.

I personally use strings in a batch file for the compilation portion, but you should also be able to call makefiles to do the same.

As for a a simple project example, you could use one of my Z88dk lessons programs such as the last on (lesson 13) @https://github.com/andydansby/ZX_Spectr ... g_lesson13.

Cheers
andy
Wall_Axe
Manic Miner
Posts: 500
Joined: Mon Nov 13, 2017 11:13 pm

Re: Z88dk visual studio

Post by Wall_Axe »

Thanks I'll check that out
Post Reply