rolandshacks / vs64

C64 Development Environment for Visual Studio Code
Other
97 stars 16 forks source link

Using a printer with C64 BASIC crashes VICE #71

Open clouddistortion opened 4 months ago

clouddistortion commented 4 months ago

Hi, I tried the following main.bas

OPEN4,4
PRINT#4,"Ergebnisse:"
CLOSE4

My Vice printer settings looks like this:

vice_printer_settings

Problem If I run the program via VS64 with VICE 3.8 gtk, VICE crashes. (also tried release in the project settings)

If I put the prg into a D64 image via /Applications/vice-x86-64-gtk3-3.8/bin/c1541 -format "mg64,mg" d64 build/test.d64 -attach build/test.d64 -write build/test.prg and then run the image manually everything works

My guess Possibly its linked to how VICE is started via VS64 because if I run VICE via VS64 and manually type the BASIC commands in, VICE crashes too. If I start VICE without VS64 I don't have the problem

rolandshacks commented 2 months ago

This can be connected to the known bug of vice which causes problems (crashes) when a debugger is connected. That specific bug does NOT exist on the SDL version of vice.