JS Vic20 update log

You need an actual VIC.

Moderator: Moderators

Post Reply
matsondawson
The Most Noble Order of Denial
Posts: 343
Joined: Fri May 01, 2009 4:44 pm

JS Vic20 update log

Post by matsondawson »

I've implemented the Firefox sound API now...

http://www.mdawson.net/vic20chrome/vic20.php

>> EDIT renamed title so i can log changes in one thread.
Last edited by matsondawson on Thu Aug 25, 2011 3:39 am, edited 1 time in total.
User avatar
Kweepa
Vic 20 Scientist
Posts: 1314
Joined: Fri Jan 04, 2008 5:11 pm
Location: Austin, Texas
Occupation: Game maker

Post by Kweepa »

Superb!
Seems to work perfectly with 5.0 and 6.0!
rhurst
Omega Star Commander
Posts: 1371
Joined: Thu Jan 31, 2008 2:12 pm
Website: https://robert.hurst-ri.us
Location: Providence, RI
Occupation: Tech & Innovation

Post by rhurst »

Very nice indeed (humanoid)!! 8)
Any technology distinguishable from magic is insufficiently advanced.
https://robert.hurst-ri.us/rob/retrocomputing
matsondawson
The Most Noble Order of Denial
Posts: 343
Joined: Fri May 01, 2009 4:44 pm

Post by matsondawson »

Now implemented.
* Proper aspect ratio
* New menu system
* Ability to select model, NTSC/PAL
* Load Cart/PRG from URL.
* A cycle based 6560 emulation (previous wouldn't handle interrupts etc)
* Added 2nd via and proper via emulation (previous only had VIA1).

Known bugs:
* Datapop, Robotic warrior, doesn't work properly, can't quite work out what the issue is.
* Keyboard may get bunged (have a feeling I know what may be going on).
Last edited by matsondawson on Fri Aug 26, 2011 7:35 pm, edited 2 times in total.
matsondawson
The Most Noble Order of Denial
Posts: 343
Joined: Fri May 01, 2009 4:44 pm

Post by matsondawson »

Added
* Ability to load programs directly from an embedded link...
e.g.
http://www.mdawson.net/vic20chrome/vic2 ... kman-8k.a0
User avatar
joshuadenmark
Big Mover
Posts: 1218
Joined: Sat Oct 23, 2010 11:32 am
Location: Fr-Havn, Denmark
Occupation: Service engineer

Post by joshuadenmark »

cool 8) thanks.
Kind regards, Peter.
____________________________________________________
In need of a wiki logon - PM me
FD22
Vic 20 Hobbyist
Posts: 148
Joined: Mon Feb 15, 2010 12:31 pm

Post by FD22 »

Runs like a dog in Safari on iPad. But it does run. Coolness. :)
matsondawson
The Most Noble Order of Denial
Posts: 343
Joined: Fri May 01, 2009 4:44 pm

Post by matsondawson »

Yes, on my machine in safari is borked, yet it uses webkit which is the same as Chrome which is the fastest. In terms of CPU usage for one 3GHz core I get.

Chrome: 25%
IE 9: 25% no sound
Firefox: 90%
Safari: 100% cannot keep up, no sound
Opera: 100% cannot keep up, no sound

All portables run at stupidly slow speed, and there's not really much I can do about it. I'm thinking of adding some more frame skip for them.
matsondawson
The Most Noble Order of Denial
Posts: 343
Joined: Fri May 01, 2009 4:44 pm

Post by matsondawson »

Have just added a debug menu with an execution trace option.
matsondawson
The Most Noble Order of Denial
Posts: 343
Joined: Fri May 01, 2009 4:44 pm

Post by matsondawson »

Lots of changes...
* Added ***FULLSCREEN*** which is only supported on latest firefox and chrome. Thanks to whomever the vic20easterbunny is for that.
* Removed hover menu system, now you have to click (I hate hovers)
* Made a completely new debug screen which shows you VIC and VIA states (it's slow atm, with some bugs/UI to resolve)
* Added a "Edit/View Basic program" (has issues with escape codes atm), cool to load a basic program then view its source.
* Added "Edit an assembler program"
* There's now a Speed menu 100% or unlimited.
* Added a tape deck (load only), supporting TZX, CSM and PRG.
* Added more reference links.
* Fixed the Branch not taken interrupt bug.

Still lots to do!
MicroPet
Vic 20 Amateur
Posts: 60
Joined: Sat Apr 07, 2012 5:55 am

Post by MicroPet »

I just tried it out on my netbook with Chrome. It ran really slowly but it's still super impressive nonetheless. Do you think it can be speed optimised or is that just not possible in JS?

Out of curiosity, would something like this run much faster in HTML5?

Regardless, great work. :)
CBR125R
Vic 20 Amateur
Posts: 68
Joined: Thu Feb 16, 2012 7:59 pm
Location: Canada
Occupation: Computer Analyst

Post by CBR125R »

With IE7...
------------------------------------------------------
Windows Internet Explorer:
<!> Your web browser does not support the 'canvas' tag.
Please upgrade/change your browser.
------------------------------------------------------

I am on my work machine, but I will try later on my laptop at home.
User avatar
Mayhem
High Bidder
Posts: 3027
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Post by Mayhem »

Yeah, only IE9 of the series supports it to my knowledge...
Lie with passion and be forever damned...
matsondawson
The Most Noble Order of Denial
Posts: 343
Joined: Fri May 01, 2009 4:44 pm

Post by matsondawson »

Yeh, nothing under IE9, even then IE9 doesn't support sound.
Your best bet is latest Chrome, then Firefox (remember to turn off firebug if you have it installed).

As for speed, I am slowly working on a faster version, I think I should be able to get at least a 5x speed up. What sort of laptop do you have? As I have a dual core 2.4Ghz and it runs fine in Chrome. It might be your Operating System as well. I have noticed XP to be slower than Windows 7. Maybe make sure your not using the laptop Power Saver as well.
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Post by nbla000 »

WOW, Very nice job !
Mega-Cart: the cartridge you plug in once and for all.
Post Reply