mindlord Posted February 20, 2018 Share Posted February 20, 2018 yes, looks good, thanks. I saw one hint here. It cannot open .WMA´s due to copyright protection, so maybe that´s one reason not to work with it Yeah. .WMA is pretty much the worst possible audio format Sent from my SM-J727V using Tapatalk 1 Quote Link to comment Share on other sites More sharing options...
Asmusr Posted May 9, 2018 Author Share Posted May 9, 2018 The latest version of js99er.net, 6.2 (as shown in the log), fixes an issue with missing sound in Chrome. Chrome now requires user interaction before a web site can play any sound, so you need to press a key or click with the mouse before you will hear any sound. I believe this has been the case in Safari (Mac OS) for a while, and I have previously added a specific fix for Safari, but the new, general fix is supposed to work in all browsers. 2 Quote Link to comment Share on other sites More sharing options...
Asmusr Posted June 29, 2018 Author Share Posted June 29, 2018 I'm working on rewriting JS99'er using a new set of tools. Things are moving fast in the JavaScript lane, and the way I did this four years ago is no hopelessly out of date. The new version is rewritten in the TypeScript language, which is a type-checked extension to JavaScript that is "transpiled" into plain JavaScript (or ECMA script, as it's called now). I'm using Angular as my development framework, and Angular-cli as build tool. For the UI display I have switched from Bootstrap 3 to 4. When the first version is ready, the changes to the end user are going be minimal: a new screen layout that allows a bigger TI screen will be the most obvious change. But in the future the new modular design will allow a better debugger, for instance, and it will be possible to run any registered cartridge simply by providing the right url. 7 Quote Link to comment Share on other sites More sharing options...
RickyDean Posted June 29, 2018 Share Posted June 29, 2018 I'm working on rewriting JS99'er using a new set of tools. Things are moving fast in the JavaScript lane, and the way I did this four years ago is no hopelessly out of date. The new version is rewritten in the TypeScript language, which is a type-checked extension to JavaScript that is "transpiled" into plain JavaScript (or ECMA script, as it's called now). I'm using Angular as my development framework, and Angular-cli as build tool. For the UI display I have switched from Bootstrap 3 to 4. When the first version is ready, the changes to the end user are going be minimal: a new screen layout that allows a bigger TI screen will be the most obvious change. But in the future the new modular design will allow a better debugger, for instance, and it will be possible to run any registered cartridge simply by providing the right url. Cool I've had to study about angular and our client is using some typescript, so it will be interesting to see what you're doing. Quote Link to comment Share on other sites More sharing options...
+retroclouds Posted July 3, 2018 Share Posted July 3, 2018 I'm working on rewriting JS99'er using a new set of tools. Things are moving fast in the JavaScript lane, and the way I did this four years ago is no hopelessly out of date. The new version is rewritten in the TypeScript language, which is a type-checked extension to JavaScript that is "transpiled" into plain JavaScript (or ECMA script, as it's called now). I'm using Angular as my development framework, and Angular-cli as build tool. For the UI display I have switched from Bootstrap 3 to 4. When the first version is ready, the changes to the end user are going be minimal: a new screen layout that allows a bigger TI screen will be the most obvious change. But in the future the new modular design will allow a better debugger, for instance, and it will be possible to run any registered cartridge simply by providing the right url. That is cool stuff. I wonder if you will notice a performance impact switching to Angular. Guess it comes down to what components you really use angular for? Haven't looked at js99.er source code to see how the screen drawing is handled. Guess you are using canvas for that. Will you keep that native or are you using some kind of library for that? A few months back I did a project prototype for work with Fabric.js but due to the amount of objects used on canvas it got slow as hell. I then went down going the native road and switched to using position div's which worked well enough for me and was superfast. Going back to js99er. If the debugger is reworked perhaps source maps/lists for assembly language could be supported? Quote Link to comment Share on other sites More sharing options...
Asmusr Posted July 4, 2018 Author Share Posted July 4, 2018 (edited) That is cool stuff. I wonder if you will notice a performance impact switching to Angular. Guess it comes down to what components you really use angular for? Haven't looked at js99.er source code to see how the screen drawing is handled. Guess you are using canvas for that. Will you keep that native or are you using some kind of library for that? A few months back I did a project prototype for work with Fabric.js but due to the amount of objects used on canvas it got slow as hell. I then went down going the native road and switched to using position div's which worked well enough for me and was superfast. Going back to js99er. If the debugger is reworked perhaps source maps/lists for assembly language could be supported? Angular will only be used for the user interface surrounding the emulator, so I don't expect this to affect performance much. The core emulator is a set of TypeScript classes that can be used with or without Angular. The emulator is drawing directly to the canvas image data - line by line, pixel by pixel - in a very low-level fashion. The problem with source maps in JS99er is that you cannot load a file into a browser without asking the user, so every time you changed the source you would have to click a button and load the file again. But it would definitely be a cool feature to have. Edited July 4, 2018 by Asmusr Quote Link to comment Share on other sites More sharing options...
Asmusr Posted July 18, 2018 Author Share Posted July 18, 2018 (edited) The new beta version is available from http://js99er.net/beta or http://beta.js99er.net I think there are still things not working, and there are definitely things not carefully tested. For the UI I decided to switch from Bootstrap to Angular Material because it's much simpler to learn and it has some really nice features. The biggest change at the moment compared to the old version is probably the larger TI screen area, which has been optimized for 16/9 screens. The Disk tab should also be a bit more logical to use. I don't think the performance has suffered much. The "More" software menu is currently missing. I'm working on that, and the ability to load any cart directly from a URL. Source code at: https://github.com/Rasmus-M/js99er-angular Edited July 18, 2018 by Asmusr 9 Quote Link to comment Share on other sites More sharing options...
globeron Posted July 19, 2018 Share Posted July 19, 2018 Hi Rasmus, did you get the audio/cassette sound to work in Js99er for Perfect Push? Quote Link to comment Share on other sites More sharing options...
Asmusr Posted July 21, 2018 Author Share Posted July 21, 2018 Hi Rasmus, did you get the audio/cassette sound to work in Js99er for Perfect Push? I think so. Is it not working? Quote Link to comment Share on other sites More sharing options...
Asmusr Posted July 21, 2018 Author Share Posted July 21, 2018 The Software/More option is now working in the beta version: http://beta.js99er.net You can also specify a cart to load in the url, e.g.: http://beta.js99er.net/#/cart/perfect%20push http://beta.js99er.net/#/cart/parsec http://beta.js99er.net/#/cart/popeye 3 Quote Link to comment Share on other sites More sharing options...
Asmusr Posted July 22, 2018 Author Share Posted July 22, 2018 I have noticed that the Google Drive integration in JS99er is broken and probably has been so for a while. Since nobody has reported it I assume that nobody is using this feature (including myself), and I can remove it rather than converting it to the new version. Please let me know if you disagree. Quote Link to comment Share on other sites More sharing options...
ti99iuc Posted July 22, 2018 Share Posted July 22, 2018 I only tried from my Android Mobile phone so i thought that was incompatible. the feature is interesting instead i think. 1 Quote Link to comment Share on other sites More sharing options...
+Vorticon Posted July 23, 2018 Share Posted July 23, 2018 I just saw that Java will no longer be free for individuals after January 2020 and for commercial customers after January 2019... Quote Link to comment Share on other sites More sharing options...
+mizapf Posted July 23, 2018 Share Posted July 23, 2018 That sounds like Oracle Java, not OpenJDK. Linux distributions switched to OpenJDK a long time ago (I think it was when Sun Microsystems was sold), but OpenJDK is also available for other platforms. Oracle is an utter PITA, and they crash every community they can get hold of. In a tech forum someone posted: Well, the yacht needs to be paid. 2 Quote Link to comment Share on other sites More sharing options...
+Lee Stewart Posted July 23, 2018 Share Posted July 23, 2018 I have noticed that the Google Drive integration in JS99er is broken and probably has been so for a while. Since nobody has reported it I assume that nobody is using this feature (including myself), and I can remove it rather than converting it to the new version. Please let me know if you disagree. I must use it when I use JS99er on my Android phone, but I do not remember the last time that was—perhaps, a little over a year. ...lee Quote Link to comment Share on other sites More sharing options...
jrhodes Posted July 23, 2018 Share Posted July 23, 2018 (edited) I just started using JS99'er recently. I like it, but i seem to be having a issue. I saved a wav file from JS99'er late last night and went to bed. Today, JS99'er will not let me open the wav file. I get the error pictured. I have a solution to it, but i feel i should not have to do this; JS99'er should be able to read the same wav files it creates. The solution was to use a resampling tool to change the wave file JS99'er outputs from 44100 32bit, to 44100 8 bit. Further more, CS1er will not read any wav file from JS99'er unless i resample it. Edited July 23, 2018 by jrhodes Quote Link to comment Share on other sites More sharing options...
Asmusr Posted July 23, 2018 Author Share Posted July 23, 2018 I just saw that Java will no longer be free for individuals after January 2020 and for commercial customers after January 2019... Well, JS99er is not programmed in Java. Quote Link to comment Share on other sites More sharing options...
+Vorticon Posted July 23, 2018 Share Posted July 23, 2018 Well, JS99er is not programmed in Java. I thought that Javascript was a subset of Java. Never mind then Quote Link to comment Share on other sites More sharing options...
Asmusr Posted July 23, 2018 Author Share Posted July 23, 2018 I just started using JS99'er recently. I like it, but i seem to be having a issue. I saved a wav file from JS99'er late last night and went to bed. Today, JS99'er will not let me open the wav file. I get the error pictured. I have a solution to it, but i feel i should not have to do this; JS99'er should be able to read the same wav files it creates. The solution was to use a resampling tool to change the wave file JS99'er outputs from 44100 32bit, to 44100 8 bit. Further more, CS1er will not read any wav file from JS99'er unless i resample it. I also get that in Firefox but not in Chrome or Edge. I will investigate. Quote Link to comment Share on other sites More sharing options...
+mizapf Posted July 23, 2018 Share Posted July 23, 2018 Well, JS99er is not programmed in Java. Yes, it rather bothers me with my TIImageTool. But as I said, I believe all Oracle Java will soon be replaced by OpenJDK. Interesting to see that people still believe that there is a connection between Java and Javascript. That marketing move - renaming Livescript to Javascript to exploit Java's popularity - really paid off. Quote Link to comment Share on other sites More sharing options...
Asmusr Posted July 23, 2018 Author Share Posted July 23, 2018 I also get that in Firefox but not in Chrome or Edge. I will investigate. It looks like Firefox cannot read 32-bit float wav files. I think I will change the output to 16-bit. 1 Quote Link to comment Share on other sites More sharing options...
+Vorticon Posted July 23, 2018 Share Posted July 23, 2018 Interesting to see that people still believe that there is a connection between Java and Javascript. That marketing move - renaming Livescript to Javascript to exploit Java's popularity - really paid off. Well, for the uninitiated, it's a natural conclusion to come to I'm surprised Oracle didn't sue for name infringement! Quote Link to comment Share on other sites More sharing options...
+mizapf Posted July 23, 2018 Share Posted July 23, 2018 Well, for the uninitiated, it's a natural conclusion to come to I'm surprised Oracle didn't sue for name infringement! This happened long before Oracle's involvement, so it would have been Sun's concern. :-) Sun and Netscape cooperatively developed Javascript, which was initially intended to embed Java applets in web pages. Quote Link to comment Share on other sites More sharing options...
Asmusr Posted July 24, 2018 Author Share Posted July 24, 2018 Well, for the uninitiated, it's a natural conclusion to come to I'm surprised Oracle didn't sue for name infringement! It's actually no longer (since around 2011) called JavaScript but ECMAScript. Quote Link to comment Share on other sites More sharing options...
InfiniteTape Posted July 24, 2018 Share Posted July 24, 2018 I have noticed that the Google Drive integration in JS99er is broken and probably has been so for a while. Since nobody has reported it I assume that nobody is using this feature (including myself), and I can remove it rather than converting it to the new version. Please let me know if you disagree. I liked having the option, but the warnings Drive gives about using an unsigned extension might scare people off. But that's part of the magic of open source. If someone here is passionate enough about the feature, they can always fix it and submit a pull request for your consideration. This thing is so cool. Thanks for continuing to improve it! I love the feature to link directly to a cart. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.