Updated Web Emulator

All aspects of programming on the Commander X16.
User avatar
AndyMt
Posts: 326
Joined: Sun Jun 21, 2020 3:02 pm
Location: Switzerland

Updated Web Emulator

Post by AndyMt »


Yes the manifest generator certainly does atm. The emulator(s) don't, at least not for data files. Because everything works when I start Brixx in the (web) emulator directly.

I'll ommit the manifest in the future again.

Main Administrator
Site Admin
Posts: 167
Joined: Sun Feb 27, 2022 12:43 am

Updated Web Emulator

Post by Main Administrator »


And for security reasons I've added a whitelist option to our server code that only allows certain extensions. Don't want someone to upload a .php file that can then be run straight from the server, right? So we're super doubly careful about extensions. BIN for all loadable assets is something I fully support.

User avatar
AndyMt
Posts: 326
Joined: Sun Jun 21, 2020 3:02 pm
Location: Switzerland

Updated Web Emulator

Post by AndyMt »


yes, that makes sense, especially for the web emulator. I'll change the program, assets and ZIP file accordingly :-).

User avatar
AndyMt
Posts: 326
Joined: Sun Jun 21, 2020 3:02 pm
Location: Switzerland

Updated Web Emulator

Post by AndyMt »


@MattGrandis

Could you maybe add SEQ, REL and DAT to the whitelist later? Those were quite common on the C64. At least for saving user data (high-scores, other databases etc).

Hm... how are we going to handle this in the web emulator? I assume not at all, that would be a massive security vulnerability...

BruceMcF
Posts: 1336
Joined: Fri Jul 03, 2020 4:27 am

Updated Web Emulator

Post by BruceMcF »


SEQ and DAT especially for sequentially read/written text and binary data respectively.

REL was more for relative files, which I used quite extensively back in the day, since the C64 version of fig-Forth I used in the 80s used relative files for block files.

Main Administrator
Site Admin
Posts: 167
Joined: Sun Feb 27, 2022 12:43 am

Updated Web Emulator

Post by Main Administrator »


Those standard extensions should be working.

User avatar
Cyber
Posts: 482
Joined: Mon Apr 27, 2020 7:36 am

Updated Web Emulator

Post by Cyber »



23 hours ago, MattGrandis said:




And for security reasons I've added a whitelist option to our server code that only allows certain extensions. Don't want someone to upload a .php file that can then be run straight from the server, right? So we're super doubly careful about extensions. BIN for all loadable assets is something I fully support.



Truly wise and secure. Thumb up! How about adding a note about this in the upload file form?

Perifractic
Posts: 511
Joined: Sat Apr 25, 2020 4:53 pm

Updated Web Emulator

Post by Perifractic »



1 hour ago, Cyber said:




Truly wise and secure. Thumb up! How about adding a note about this in the upload file form?



Thanks. We're trying to avoid additional work to the site at this time, as it all takes time and money. Bug fixes excepted of course. Otherwise, it's pretty much feature locked. ??

User avatar
AndyMt
Posts: 326
Joined: Sun Jun 21, 2020 3:02 pm
Location: Switzerland

Updated Web Emulator

Post by AndyMt »


@SebastianVogesAny plans to update the emulator behind the "Try Now" button with the latest r38 version ?? My latest game makes use of the sprite collision interrupts which are not available in r37.

Main Administrator
Site Admin
Posts: 167
Joined: Sun Feb 27, 2022 12:43 am

Updated Web Emulator

Post by Main Administrator »



2 hours ago, AndyMt said:




@SebastianVogesAny plans to update the emulator behind the "Try Now" button with the latest r38 version ?? My latest game makes use of the sprite collision interrupts which are not available in r37.



That would be my job. Is the web emulator on version r38 already?

Post Reply