JSZeddy
Re: JSZeddy
I tested it some more time now and found some (minor) problems.
Both, keyboard and mouse (clicking on the keyboard picture) work from start but when try to load a .p file from disk only the mouse functions (no more reaction from keyboard presses). The loader interface seems to have some minor problems which can be fixed more or less easy I think.
By the way the button RESET does not a complete RESET because the keyboard does work again only after a browser reload (CTRL-F5).
I could play the program slotmachines.p but the system seems to get a bit more slow.
Both, keyboard and mouse (clicking on the keyboard picture) work from start but when try to load a .p file from disk only the mouse functions (no more reaction from keyboard presses). The loader interface seems to have some minor problems which can be fixed more or less easy I think.
By the way the button RESET does not a complete RESET because the keyboard does work again only after a browser reload (CTRL-F5).
I could play the program slotmachines.p but the system seems to get a bit more slow.
Re: JSZeddy
Thank you Sir Morris and Pokemon for having a look. On my machine Firefox sometimes moves to 100% core usage, while Chromium is at 85%. At 100%, it may start to run more slowly. Btw, I need to start Chromium with "--allow-file-access-from-files" for the "Choose File" option to work. At keys input, the only test is if the textarea with the hex codes has the focus (with LOAD "" this code may be loaded); the Reset sets the focus to the canvas. I've added a re-init of keyboard variables. Which other problems did you find with the loader?
Re: JSZeddy
So looks much better now - loaded different games and focus of keyboard is no more lost and reacts good with keyboard.
Maybe games a little bit harder to play as keyboard reaction not fast enough but maybe my skills are quite bad.
What about implementing the cursor area of the keyboard while remapping to WASD ?
And RUBOUT with the special key over the ENTER key would be fine (SHIFT-0).
I tried some HRG programs which partly ran but have some problems, some are not running at all.
Is it HRG proof ?
Maybe games a little bit harder to play as keyboard reaction not fast enough but maybe my skills are quite bad.

What about implementing the cursor area of the keyboard while remapping to WASD ?
And RUBOUT with the special key over the ENTER key would be fine (SHIFT-0).
I tried some HRG programs which partly ran but have some problems, some are not running at all.
Is it HRG proof ?
Re: JSZeddy
It could also be that the reponse to the keys is not as good as the real thing
I've attached the arrow keys to WASD and Del to Rubout (Backspace has another function in Chromium); which special key did you mean? The "Choose File" has a cold and warm version, depending if the ZX has booted or not. With "Choose File" the HRG programs can be loaded to the virtual cassette. If for example "pipes' is present, Reset, loading the HRG driver and then LOAD "PIPES" works, so I think the warm version will be fixed soon!

Re: JSZeddy
Progress on IE8 -- it now shows a keyboard and buttons for start, stop, reset, etc.
Message: Object doesn't support this property or method
Line: 12
Char: 2
Code: 0
URI: http://rullf2.xs4all.nl/jszeddy/canvas2image.js
Message: Object doesn't support this property or method
Line: 145
Char: 2
Code: 0
URI: http://rullf2.xs4all.nl/jszeddy/zeddy.js
Message: Object doesn't support this action
Line: 368
Char: 1
Code: 0
URI: http://rullf2.xs4all.nl/jszeddy/jszeddy.html
Message: Object doesn't support this action
Line: 368
Char: 1
Code: 0
URI: http://rullf2.xs4all.nl/jszeddy/jszeddy.html
Message: Object doesn't support this property or method
Line: 12
Char: 2
Code: 0
URI: http://rullf2.xs4all.nl/jszeddy/canvas2image.js
Message: Object doesn't support this property or method
Line: 145
Char: 2
Code: 0
URI: http://rullf2.xs4all.nl/jszeddy/zeddy.js
Message: Object doesn't support this action
Line: 368
Char: 1
Code: 0
URI: http://rullf2.xs4all.nl/jszeddy/jszeddy.html
Message: Object doesn't support this action
Line: 368
Char: 1
Code: 0
URI: http://rullf2.xs4all.nl/jszeddy/jszeddy.html
Re: JSZeddy
Works well on Chrome 37
I noticed:
* it loads with a black screen. The Reset button starts the ZX81
* the keyboard backspace key is not mapped to the Rubout key
* the edit line moves to the top of the screen at times, but seems to recover by itself
I noticed:
* it loads with a black screen. The Reset button starts the ZX81
* the keyboard backspace key is not mapped to the Rubout key
* the edit line moves to the top of the screen at times, but seems to recover by itself
Re: JSZeddy
I've added some features to JSZeddy, including support for Chroma Interface-like character code colour mapping
http://rullf2.xs4all.nl/jszeddy/jszeddy.html
Start with 56k memory by pressing the "24k" button; first load Mazogs with "Choose file" and next "MazogsColour.P" from
http://www.fruitcake.plus.com/Sinclair/ ... Colour.htm

http://rullf2.xs4all.nl/jszeddy/jszeddy.html
Start with 56k memory by pressing the "24k" button; first load Mazogs with "Choose file" and next "MazogsColour.P" from
http://www.fruitcake.plus.com/Sinclair/ ... Colour.htm
Re: JSZeddy
The emulator is looking really good and pleasantly surprised to see Chroma colour emulation included so quickly!olofsen wrote:I've added some features to JSZeddy, including support for Chroma Interface-like character code colour mapping![]()
This should be load "MazogsColour.P" first and then "Mazogs.P".olofsen wrote:first load Mazogs with "Choose file" and next "MazogsColour.P"
Re: JSZeddy
Thanks! Do you have a "attributes file colour mode" demo? Then I'll implement that as well.
Normally, if JSZeddy needs a second part, it will try to load it from the virtual cassette, and it will only be there if it that part has been loaded before. But you're right, in this case the "normal" order works too!
Normally, if JSZeddy needs a second part, it will try to load it from the virtual cassette, and it will only be there if it that part has been loaded before. But you're right, in this case the "normal" order works too!