JSZeddy

Emulator and emulator development specific topics
User avatar
sirmorris
Posts: 2659
Joined: Thu May 08, 2008 4:45 pm
Location: oxon, uk

Re: JSZeddy

Post by sirmorris » Tue Sep 09, 2014 10:08 pm

Nice!

W7 x64/Chrome
--=== ZXpand+ ... A more moderner all-in-one upgrade solution for ZX81 ===--
* SD/MMC storage * 32K Hires-capable RAM * AY sound chip * Joystick port * Serial *
* BASIC enhancements - plug & play * Reset button * Auto-boot facility *

User avatar
PokeMon
Posts: 2129
Joined: Sat Sep 17, 2011 5:48 pm

Re: JSZeddy

Post by PokeMon » Tue Sep 09, 2014 10:48 pm

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 544 times

olofsen
Posts: 123
Joined: Wed Jan 08, 2014 11:29 am

Re: JSZeddy

Post by olofsen » Wed Sep 10, 2014 7:36 am

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?

User avatar
PokeMon
Posts: 2129
Joined: Sat Sep 17, 2011 5:48 pm

Re: JSZeddy

Post by PokeMon » Wed Sep 10, 2014 11:38 am

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 529 times

olofsen
Posts: 123
Joined: Wed Jan 08, 2014 11:29 am

Re: JSZeddy

Post by olofsen » Wed Sep 10, 2014 9:39 pm

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!

David G
Posts: 44
Joined: Thu Jul 17, 2014 6:58 am

Re: JSZeddy

Post by David G » Thu Sep 11, 2014 9:25 pm

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

David G
Posts: 44
Joined: Thu Jul 17, 2014 6:58 am

Re: JSZeddy

Post by David G » Thu Sep 11, 2014 9:34 pm

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

olofsen
Posts: 123
Joined: Wed Jan 08, 2014 11:29 am

Re: JSZeddy

Post by olofsen » Wed Oct 15, 2014 9:16 pm

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

Fruitcake
Posts: 90
Joined: Wed Sep 01, 2010 9:53 pm
Contact:

Re: JSZeddy

Post by Fruitcake » Sun Oct 26, 2014 9:29 pm

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".

olofsen
Posts: 123
Joined: Wed Jan 08, 2014 11:29 am

Re: JSZeddy

Post by olofsen » Mon Oct 27, 2014 7:24 am

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!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest