Coder Social home page Coder Social logo

dotneteer / spectnetide Goto Github PK

View Code? Open in Web Editor NEW
205.0 205.0 26.0 69.03 MB

ZX Spectrum IDE with Visual Studio 2017 and 2019 integration

License: MIT License

C# 83.05% ANTLR 0.33% HTML 1.20% C 1.91% Assembly 13.51%
disassembler ide zx-spectrum-emulator

spectnetide's People

Contributors

davidblackuk avatar dependabot[bot] avatar dotneteer avatar gusmanb avatar jsalter2013 avatar misha-zx avatar pawlos avatar stuurmn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spectnetide's Issues

Add a VS option that allow disabling source code debugging.

This feature would allow you to use only the Disassembly view while debugging your app. In particular cases, without it, source code debugging may be frustrating, as you continuously jump fro and to between the Spectrum VM view and source code file with the current breakpoint -- especially with the Step Into and Step Over commands.

Visibilty of buttons in emulator is not always correct

Step 1) Run program in Emulator

2017-11-07 17_09_55-as11

Step 2) Restart (Same) Program again

2017-11-07 17_10_21-spect net - microsoft visual studio

Step 3) The popup ask if the VM should be restarted --> Click Yes

2017-11-07 17_21_02-as11

2017-11-07 17_10_38-as11

The start button is green. But it is already running. You can click on it but nothing is happening
2017-11-07 17_10_53-as11

But you cant stop or pause the emulator

2017-11-07 17_11_08-as11

Allow centering/zooming a keyboard layout

Add an option (Tools|Options|Spect.Net IDE) that allows two layout for the Keyboard tool window:

  • Original: Original size, the keyboard is centered in the keyboard layout window, scrollbars are provided
  • Fit: The layout of the keyboard is fitted to the available size of the Keyboard tool window

Wrong keys being returned while running from emulator

Hi,

I was experimenting with a Z80 tutorial and I noticed the following

When I run the code --> Context menu --> Run Z80 program the key presses were not recognised correctly. instead of recognising the values 111, 112, 114 it saw the results as F4h F5h F7h. the spacebar was recognised as correctly with 32

But when I exported the program to a tap file and run it directly in the emulator it was working fine. there the values 111, 112 etc were read correctly

The code checks for
; invite player input
ld hl, last_k ; LAST K system variable
ld a, (hl) ; put last keyboard press into A
cp 112 ; was "p" pressed? in Emulator F4H F5h is been recognised instead of 112
jr z, pright ; jump to PRIGHT
cp 111 ; was "o" pressed? F4H
jr z, pleft ; jump to PLEFT
cp 32 ; was " " pressed?
jr z, pfire ; jump to PFIRE
cp 114 ; was "r" pressed? Why in Emulator F7h ????
jr z, newgame ; jump to NEWGAME
jr ploop ; maintain player input loop

Tutorial with full listing of connect 4:
https://gist.github.com/darrylsloan/e2be3b95bc0cfc390f30ea833c858fc4

Can you have a look at it?

Regards,
Albert

p.s.
Really love your project!!

Looks like first Breakpoint is skipped

When I start the program in Debug mode. It doesn't seem to stop
It seems to stop at the 2nd breakpoint.

debuggerspectnetide
It stops at the nop and not at the first Call

Question,
Do you know why in the bottom of the screen it only says "@ 1982 Sincl "?

VS hangs completely in debugging mode

I can't always reproduce this one.

But it looks when I'm in debugging mode and the dissassembly and the registers and the memory window are open and I click on F5 "Start debugging" VS hangs.
Some times I can continue after a while. Often I have to break off (throught the task manager)

The emulator is running but I think slowly

I would say the more of the tool windows are open the more likely it is that VS hangs
(Just by switching between Pause and F5 (I haven't got any breakpoints in the line of running code)

If I put a breakpoint where it comes all the time ( And I only use F5) then I can have multiple of those tool windows open.

Undocumented Z80

In the Jet Set Willy Source code

They are using the instructions:
image

image

IXH and IXL are not recognised.

Is it possible you can add them?

Thanks,
Albert

In debug mode F11 makes code window active but code window doesn't listen to F11 (highlites not always working)

When I dubug a program and press F11 the z80code window becomes active and sometimes highlites the line with the current instruction (But not always)

The F11 key works fine from the emulator window and from the dissassembly window. But because it jumps to Z80code window, F11 doesn't react and the program doesn't continue for 1 step.

2017-11-09 09_57_31-spectrumcodediscovery1 - microsoft visual studio - experimental instance
Here the Emulator windows is active When Pressing F11
Z80 dissasembly is updated and the z80code is updated. But it looses focus from the emulator window. ( Or maybe that is not the problem and the solution would be to have the z80code window listen to keypresses?)

2017-11-09 10_01_14-spectrumcodediscovery1 - microsoft visual studio - experimental instance
Now the Z80code windows is active

2017-11-09 09_37_36-spectrumcodediscovery1 - microsoft visual studio - experimental instance
Pressing F11 This current line was highlited

2017-11-09 09_38_22-spectrumcodediscovery1 - microsoft visual studio - experimental instance

Pressing F11 Here the current instruction is not highlited

2017-11-09 09_37_59-spectrumcodediscovery1 - microsoft visual studio - experimental instance

Pressing F11 Same here the current instruction is not highlited (Although the z80code seems to scroll to the correct place...)

.defw directive raises "Undefined symbol" error (discovered by davidblackuk)

The following lines fail with undefined symbol errors

scan_line_000: .defw 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
scan_line_001: .defw 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

screen_map:	.defw #4000, scan_line_000, #4100, scan_line_001

I would have thought it should have worked as the symbols are declared previously in the file.

Display ULA information in the Z80 registers tool window

Along with the CPU tact information, display

  • the number of frames rendered from the start of the virtual machine
  • the current ULA tact information,
  • the number of raster line currently being built,
  • the type of pixel operation for the current tact

Z80 Disassembly window: Change of Display not working?

Hi Istvan,

I don't know if I understand the working correctly but maybe you can have a look?

2017-11-05 15_57_13-ast4

When I enter MW 3D00 3FFF. The layout stays as above.

I did manage to get it to get the view below earlier on

2017-11-05 15_49_16-

But I'm not sure how I did it.
restarting the program closing opening the disassembly window etc.
I cannot reproduce it.

Also I didn't manage to get the Disassambly View. (It could be me though...)
Can you have a look?
BR,
Albert

Allow selecting keyboard layout with an option

Provide an option (Tools|Option|Spec.Net IDE) that allows you to select a keyboard layout:

  • Default: Layout according to the current Spectrum model of the project
  • Spectrum 48 (old rubber keyboard layout)
  • Spectrum 128 (new Spectrum +/+2/128/+3 layout)

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.