Giter Site home page Giter Site logo

Comments (9)

GeorgRottensteiner avatar GeorgRottensteiner commented on June 5, 2024

Might be doable. One problem is that I don't know many details. The assembler itself would be the simpler part, but charset etc. editors need matching options.
C64Studio checks whether the called filename starts with "x64". If it's not, it assumes not VICE and omits the remote monitor. That should be easy to fix.
Would you dare to test? ;)

from c64studio.

AndyHOvine avatar AndyHOvine commented on June 5, 2024

Absolutely, throw anything my way :)

I think the character and screen editors can be used as they are. The differences are minor although any support you can add for the Vic would be a bonus.

Some comparisons key highlights that might be applicable:

  • C64 and Vic hi-res characters are the same
  • The Vic can only use the first 8 colours (bits 0-3, bit 4 is the multicolour flag)
  • Vic 20 multi-colour characters are very similar with a character colour, an Aux (MC1) and Border (MC2) colours.
  • The Bit pairing mask for multi-colour encoding is slightly different.
  • The top 8 multi-colours have differences
  • The Vic 20 has an inverse colour mode and a double height character mode
  • The Vic 20 does not have the ECM or bitmap modes (although the latter can be simulated)
  • The Vic 20 screen default is 22 x 23 so the screen character editor can be used pretty much as-is by setting the width and height you want. The Vic 20 screen can be shrunk/enlarged by any visible amount of characters.

Any support for the above are not essential but would be a bonus. The two immediate features that would be a big help would be the integrated debugger and an easy way to pass the desired memory expansion option on the command line to vice.

from c64studio.

GeorgRottensteiner avatar GeorgRottensteiner commented on June 5, 2024

What exactly does not work with the debugger? I fired up a simple assembly and was able to debug step through it. I cloned a tool entry of VICE and replaced x64.exe by xvic.exe.

The assembly:

* = $1001

!basic

          lda #1
          sta $1400
          rts

Regarding the memory configuration, the designed way would be to clone the xvic tool entry and set different command line arguments in the PRG/T64 field.

from c64studio.

AndyHOvine avatar AndyHOvine commented on June 5, 2024

This is what I have:
image

I tried it with this test program with a breakpoint set:
image

xvic starts and the breakpoint is hit in the VICE monitor.

image

When I do this with an C64 program, the breakpoint is hit and returns to C64Studio to debug, however, with this Vic set up C64Studio remains unaware and the step button (for example) is not functional:
image

I'll grab a newer version of VICE to test as I'm on 3.1 at the moment ( the last good Windows version ;-p ).

from c64studio.

AndyHOvine avatar AndyHOvine commented on June 5, 2024

Same with latest VICE.
image

from c64studio.

GeorgRottensteiner avatar GeorgRottensteiner commented on June 5, 2024

Ah, I checked with VICE 2.4. Also works with 3.4 for me.
Is there a message in the output display regarding debugger connection failed? Either your PC is so fast and the location is passed before the remote monitor even connects; or the debugger connection isn't even opened at all.
Can you show the exact startup output in the output display? Optionally the debug start address is off and so the breakpoint does not get set at all.
Does "run to cursor" work?

from c64studio.

AndyHOvine avatar AndyHOvine commented on June 5, 2024

Figured it out. I thought I'd updated recently but I was still on V 6.1. Installed 6.4 and the debugger stopped working initially. Created a new project and copied over the asm file and debugging is now working perfectly.

from c64studio.

GeorgRottensteiner avatar GeorgRottensteiner commented on June 5, 2024

Phew! Thanks for checking!

from c64studio.

GeorgRottensteiner avatar GeorgRottensteiner commented on June 5, 2024

Closing since it works.

from c64studio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.