Page 2 of 5

Re: JSZeddy

Posted: Tue Sep 09, 2014 11:08 pm
by sirmorris
Nice!

W7 x64/Chrome

Re: JSZeddy

Posted: Tue Sep 09, 2014 11:48 pm
by PokeMon
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.
Clipboard02.jpg
Clipboard02.jpg (53.02 KiB) Viewed 6891 times

Re: JSZeddy

Posted: Wed Sep 10, 2014 8:36 am
by olofsen
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

Posted: Wed Sep 10, 2014 12:38 pm
by PokeMon
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. :mrgreen:
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 ?
Clipboard03.jpg
Clipboard03.jpg (38.17 KiB) Viewed 6876 times

Re: JSZeddy

Posted: Wed Sep 10, 2014 10:39 pm
by olofsen
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

Posted: Thu Sep 11, 2014 10:25 pm
by David G
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

Re: JSZeddy

Posted: Thu Sep 11, 2014 10:34 pm
by David G
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

Re: JSZeddy

Posted: Wed Oct 15, 2014 10:16 pm
by olofsen
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

Re: JSZeddy

Posted: Sun Oct 26, 2014 10:29 pm
by Fruitcake
olofsen wrote:I've added some features to JSZeddy, including support for Chroma Interface-like character code colour mapping :)
The emulator is looking really good and pleasantly surprised to see Chroma colour emulation included so quickly!
olofsen wrote:first load Mazogs with "Choose file" and next "MazogsColour.P"
This should be load "MazogsColour.P" first and then "Mazogs.P".

Re: JSZeddy

Posted: Mon Oct 27, 2014 8:24 am
by olofsen
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!