mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-22 14:33:51 +00:00
added runToPC() so can continue after run to line
This commit is contained in:
parent
9202583619
commit
aba1072abd
@ -13,7 +13,6 @@ TODO:
|
||||
- asm: support macro expansion
|
||||
- multiple breakpoints, expression breakpoints
|
||||
- watchpoints
|
||||
- MAME single step (?)
|
||||
- step over (line, instruction)
|
||||
- slowdown beam for all platforms?
|
||||
- show errors in list (maybe window list?)
|
||||
@ -384,6 +383,9 @@ Emulator Lib
|
||||
- VCS
|
||||
- NES
|
||||
- MAME
|
||||
- MAME
|
||||
- debugging?
|
||||
- kbd instructions don't work
|
||||
|
||||
Markdown (showdown) interface
|
||||
- add code patches to files
|
||||
|
@ -377,6 +377,12 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
|
||||
<span class="control-def"><span class="control-key">←↑↓→</span> Joystick</span>
|
||||
<span class="control-def"><span class="control-key">Z X C V</span> Buttons</span>
|
||||
</div>
|
||||
<div class="emucontrols-atari8 text-center small control-insns" style="display:none">
|
||||
<span class="control-def"><span class="control-key">←↑↓→</span> Joystick</span>
|
||||
<span class="control-def"><span class="control-key">1</span> Start</span>
|
||||
<span class="control-def"><span class="control-key small">Left Ctrl</span> Button 1</span>
|
||||
<span class="control-def"><span class="control-key small">Left Alt</span> Button 2</span>
|
||||
</div>
|
||||
<!-- -->
|
||||
<div id="emuoverlay" class="emuoverlay" style="display:none">
|
||||
</div>
|
||||
|
@ -325,6 +325,12 @@ export abstract class BaseDebugPlatform extends BasePlatform {
|
||||
}
|
||||
});
|
||||
}
|
||||
runToPC(pc: number) {
|
||||
this.debugTargetClock++;
|
||||
this.runEval((c) => {
|
||||
return c.PC == pc;
|
||||
});
|
||||
}
|
||||
runUntilReturn() {
|
||||
var SP0 = this.getSP();
|
||||
this.runEval( (c:CpuState) : boolean => {
|
||||
|
Loading…
Reference in New Issue
Block a user