Comments (8)
Nice catch! This looks like a racing condition. VICE is running cart code before C64Studio manages to connect to the remote monitor. Once you're in VICE and connected, you can break with C64Studio (the pause symbol) and go from there. Obviously that's just a work around, I'll try to find a way to get into it from the start.
from c64studio.
I've checked in an attempt, that seems to work now for both carts and normal programs.
Please let me know if it works fully as intended.
The "solution" works by breaking into the debugger once the socket is connected, adding the required breakpoints and hard resetting VICE. So a part of the cart may actually start running before the reset kicks in!
from c64studio.
I tried that solution and it doesn't break automatically anymore (i.e. no initbreak parameter and DebugStartAddress is ignored). Is this intended? If so, it's a bit strange that the DebugStartAddress can still be set and the initbreak parameter is displayed under tools but then ignored when debugging.
So I need to break, set a breakpoint manually at 0xf000, stop/restart debugging and then (the 2nd time), the debugger starts at the first instruction. I tried this with the previous version and there it wouldn't work. So this is definitely an improvement. Personally, I could live with this but if DebugStartAddress and initbreak are deliberately ignored, wouldn't it make sense to remove them?
from c64studio.
initbreak is not used for cartridges, I kept it for non carts though. The DebugStartAddress should be used, not via initbreak, but indirectly with the -moncommands file.
If it isn't, then that's a plain bug in my "solution".
Regarding setting a breakpoint at $f000, is that address used as jump vector in $fffc?
It could be that I need to attempt your exact constellation. Could you provide an as short as possible sample that exhibits the wonky behaviour?
from c64studio.
Yes, 0xf000 is used for the jump vector. The binary also works in a real cartridge.
Just as an example, not for anything else, a version of kinzi's Dead Test modification 004 with a very few changes to improve the LED blinking on the tape port:
Dead Test.zip
from c64studio.
Ah, I think I finally understand and found the cause. I've checked in a potential fix. The address configured as debug start address is now actually used as first intermediate break point, similar to "Run to cursor".
from c64studio.
Yep, this works for me. Great support as always. Thanks!
from c64studio.
Goodie :)
Closing this then.
from c64studio.
Related Issues (20)
- Can't launch Vice, error parsing command line options HOT 1
- Quote key moves. HOT 4
- Solution / Project creation doesn't seem to match what was configured. HOT 2
- Solution node context menu offers rename project incorrectly HOT 1
- Cursor stops blinking after some seconds in the editor HOT 5
- How do you type the british pound symbol? HOT 2
- Windows 11 Trojan detected ? HOT 8
- Outline View (basic source code): double clicking on referenced variables will jump to wrong line of code HOT 2
- Charscreen reverse mode backspace clears in non-reverse. HOT 1
- Graphicscreen editor to show which colors are active in current charblock HOT 6
- Align value one off HOT 2
- Sprite Preview "Save as GIF" Produces Broken GIF HOT 2
- Huge settings.dat hangs editor while closing HOT 1
- Value table editor HOT 2
- Cannot type "\" in a BASIC #include directive HOT 2
- How to assembly 65816 in recent commits? HOT 2
- Automatic Renumber Off by Default HOT 2
- Const value not shown in 'Find all references' HOT 6
- Request: Screen editor zoom HOT 2
- Request: In screen editor, select colors for mouse buttons HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c64studio.