Search found 187 matches

by Matt Godbolt
Fri Aug 23, 2019 2:51 pm
Forum: emulators
Topic: Emulation tests
Replies: 13
Views: 539

Re: Emulation tests

That's a fascinating idea: making a test "format" that works equally well on emulators and real machines using serial :) love it
by Matt Godbolt
Mon Aug 19, 2019 9:29 pm
Forum: emulators
Topic: Emulation tests
Replies: 13
Views: 539

Re: Emulation tests

Yeah my main thing about OSWRCH is exactly which output is the machine-readable test info? But I guess in honesty we coudl check everything against a known-good. Or use the *SPOOL thing if that's easy to check for.
by Matt Godbolt
Mon Aug 19, 2019 3:16 pm
Forum: emulators
Topic: Emulation tests
Replies: 13
Views: 539

Re: Emulation tests

I guess the BRK makes it annoying on read hardware. But something else? I'm sure there's something we could use that's a NOP on a normal machine but is easy and unambiguous to trap in an emulator.
by Matt Godbolt
Mon Aug 19, 2019 3:15 pm
Forum: emulators
Topic: Emulation tests
Replies: 13
Views: 539

Re: Emulation tests

jsbeeb has a number of hacky ways to do this, but for us it's pretty easy to bespoke fiddle with the emulator while it's running. We abuse breakpoints and various "per instruction" lambdas we can add to set things up. I'd be 100% for a standardized test harness though! I'm not sure OSWRCH is the rig...
by Matt Godbolt
Wed Aug 14, 2019 1:11 pm
Forum: emulators
Topic: Uridium and other games not working on JSBeeb
Replies: 30
Views: 605

Re: Uridium and other games not working on JSBeeb

Huge thanks to scarybeasts for all his changes to jsbeeb! And yes, there's currently no UI to pick the DFS1.2 or noseek: they're URL params only for now.
by Matt Godbolt
Sat Feb 23, 2019 8:03 pm
Forum: software: other
Topic: help in using JSBeeb to debug code
Replies: 11
Views: 538

Re: help in using JSBeeb to debug code

I replied on the issue but also here: Bring up the JS console...and type: utils = require('utils'); processor.debugWrite.add((addr, b) => { if (addr >= 0x3000 && addr <= 0x3020) { console.log(`Write address &${utils.hexword(addr)} = &${utils.hexbyte(b)}`); } }); To explain! `utils` provides a bunch ...
by Matt Godbolt
Sun Jun 10, 2018 2:29 pm
Forum: emulators
Topic: BeebEm now in WebAssembly (in-browser)
Replies: 14
Views: 1451

Re: BeebEm now in WebAssembly (in-browser)

Wow! Super cool! How does one configure the keyboard - I couldn't work out how to get BREAK to work?
by Matt Godbolt
Fri Mar 09, 2018 9:20 pm
Forum: software: other
Topic: Speech
Replies: 17
Views: 1659

Re: Speech

..though indeed if WE stays low maybe this should be ok? I'll have to dig a bit more :)
by Matt Godbolt
Fri Mar 09, 2018 9:02 pm
Forum: software: other
Topic: Speech
Replies: 17
Views: 1659

Re: Speech

How long does it leave between flipping the write enable line to the sound chip? You're supposed to leave 8uS but I think you can get away with less on a real Beeb... Only if you're lucky. I think the point is that the sound chip only takes data off the bus every 8us, so if you get lucky it'll work...
by Matt Godbolt
Mon Feb 26, 2018 1:49 pm
Forum: projects
Topic: Going great guns on a Prince of Persia port...
Replies: 228
Views: 28714

Re: Going great guns on a Prince of Persia port...

Cool! Thanks Kieran. We'll keep up our side of the agreement by continuing to give our enthusiastic support!
by Matt Godbolt
Mon Feb 26, 2018 12:18 am
Forum: projects
Topic: Going great guns on a Prince of Persia port...
Replies: 228
Views: 28714

Re: Going great guns on a Prince of Persia port...

I am SO excited for this. Can we support this in some way? A Patreon, or some such thing? The amount of effort you all are putting in is amazing!
by Matt Godbolt
Wed Feb 21, 2018 10:58 pm
Forum: emulators
Topic: Double-clicking .SSD overrides VDU 14 ?!
Replies: 13
Views: 1296

Re: Double-clicking .SSD overrides VDU 14 ?!

In fairness my 'autoboot' for tape is to type "*TAPE" and then "*/" or similar anyway (and I have "autochain" for 'ch.""') so it's probably moot.
by Matt Godbolt
Wed Feb 21, 2018 10:11 pm
Forum: emulators
Topic: Double-clicking .SSD overrides VDU 14 ?!
Replies: 13
Views: 1296

Re: Double-clicking .SSD overrides VDU 14 ?!

I can do some magical breakpointing and release shift as soon as the OS has started the boot process; either disc access or tape motor.
by Matt Godbolt
Sat Feb 10, 2018 11:15 pm
Forum: emulators
Topic: jsbeeb - a Javascript emulator
Replies: 153
Views: 21046

Re: jsbeeb - a Javascript emulator

Thanks vanekp; I'll have to see what I'm doing wrong! Cheers, Matt
by Matt Godbolt
Sat Feb 10, 2018 3:42 pm
Forum: emulators
Topic: jsbeeb - a Javascript emulator
Replies: 153
Views: 21046

Re: jsbeeb - a Javascript emulator

I'll have a think: you're right. &ddnoise=on or &ddnoise=off, and if not specified, then user's default, I guess :) Then bbcmicro can add &ddnoise=off always. I sped up the disc loading a little (some dumb typos didn't help). While instrumenting the Zen disc, it's amazing how often it seeks back to ...
by Matt Godbolt
Sat Feb 10, 2018 2:49 pm
Forum: emulators
Topic: jsbeeb - a Javascript emulator
Replies: 153
Views: 21046

Re: jsbeeb - a Javascript emulator

Any chance you could make the disc-drive noises optional? That would be ideal for bbcmicro.co.uk, which currently uses an earlier version of JSBeeb which doesn't implement the noises and thus loads games "instantly" and silently. Absolutely! I need to add more configuration for the emulator state a...
by Matt Godbolt
Wed Feb 07, 2018 4:39 pm
Forum: emulators
Topic: jsbeeb - a Javascript emulator
Replies: 153
Views: 21046

Re: jsbeeb - a Javascript emulator

It's absolutely on my TODO list...especially to get Kieran et al's masterpiece going :)
by Matt Godbolt
Wed Feb 07, 2018 3:44 pm
Forum: emulators
Topic: jsbeeb - a Javascript emulator
Replies: 153
Views: 21046

Re: jsbeeb - a Javascript emulator

Some recent updates to jsbeeb: Discs are read/write by default now. If a game failed because it wanted to write to disc, it should now work. Though any modified data is lost - currently without any warning (sorry!) Touchscreen support has been added! Currently on by default, but will eventually need...
by Matt Godbolt
Fri Feb 02, 2018 8:45 pm
Forum: emulators
Topic: jsbeeb - a Javascript emulator
Replies: 153
Views: 21046

Re: jsbeeb - a Javascript emulator

Thanks - yes the issue page is the canonical place to put the report! I'm actually spending a bit of time working on jsbeeb again, will try and look at these issues too.

Thanks everyone for your support!
by Matt Godbolt
Thu Feb 01, 2018 7:09 pm
Forum: projects
Topic: Going great guns on a Prince of Persia port...
Replies: 228
Views: 28714

Re: Going great guns on a Prince of Persia port...

Cripes mate that looks fantastic! The Master version needs ... -- although if Matt were to find the time to implement it, it would benefit another recent game, White Light, too. (Hint, hint!) :?: Hahah hint taken. I'm actually working on jsbeeb at the moment, to add support for serial stuff and tou...
by Matt Godbolt
Wed Jan 31, 2018 2:15 pm
Forum: projects
Topic: Going great guns on a Prince of Persia port...
Replies: 228
Views: 28714

Re: Going great guns on a Prince of Persia port...

Cripes mate that looks fantastic!
by Matt Godbolt
Thu Jan 04, 2018 2:53 pm
Forum: emulators
Topic: Easy way to get a BASIC program from a text file into an emulator
Replies: 15
Views: 1265

Re: Easy way to get a BASIC program from a text file into an emulator

This is neat ... there isn't a similarly undocumented feature for enabling write access to an SSD uploaded by the user, is there? Just asking. :P Kind-of, yes. There's limited Google Drive support and you can copy files to Google Drive and then use them as writable SSDs. But that's nasty...I need t...
by Matt Godbolt
Wed Jan 03, 2018 7:04 pm
Forum: emulators
Topic: Easy way to get a BASIC program from a text file into an emulator
Replies: 15
Views: 1265

Re: Easy way to get a BASIC program from a text file into an emulator

Bit late to the party but jsbeeb (sorta) supports editing in github and loading from there: * Create a gist with your code. https://gist.github.com/ e.g. https://gist.github.com/mattgodbolt/fc8d6f3d6e5e015dce399013719c8341 * Get the "Raw" link by clicking "raw" and copying the URL . In the case abov...
by Matt Godbolt
Mon Nov 27, 2017 2:28 pm
Forum: projects
Topic: Going great guns on a Prince of Persia port...
Replies: 228
Views: 28714

Re: Starting a Prince of Persia port...

Just a flyby content-free post to say how much I'm enjoying reading this thread! Keep up the great work everyone!
by Matt Godbolt
Sat Nov 25, 2017 9:17 pm
Forum: emulators
Topic: jsbeeb - a Javascript emulator
Replies: 153
Views: 21046

Re: jsbeeb - a Javascript emulator

Thanks all! Noted, and...subject to finding some time...I'll see what I can do!
by Matt Godbolt
Fri Nov 24, 2017 9:33 pm
Forum: emulators
Topic: Clock Signal: now also for Linux and BSD
Replies: 15
Views: 1879

Re: Clock Signal: now also for Linux and BSD

Wow: thanks for the deep info! A lot to digest...I'll see what I can knock up :) Thank you!
by Matt Godbolt
Fri Nov 24, 2017 8:52 pm
Forum: emulators
Topic: Beebem teletext hold char (158) issue
Replies: 37
Views: 2532

Re: Beebem teletext hold char (158) issue

Glad to report this works OK in jsbeeb too (As best I can tell): https://bbc.godbolt.org/?autorun&loadBa ... tfile1.txt
by Matt Godbolt
Fri Nov 24, 2017 7:16 pm
Forum: emulators
Topic: Clock Signal: now also for Linux and BSD
Replies: 15
Views: 1879

Re: Clock Signal: now also for Linux and BSD

I'd love to try and port the composite output to jsbeeb though...will be digging around for info. Do you have any links to sources you used for this?
by Matt Godbolt
Fri Nov 24, 2017 7:14 pm
Forum: emulators
Topic: Clock Signal: now also for Linux and BSD
Replies: 15
Views: 1879

Re: Clock Signal: now also for Linux and BSD

Wow great stuff!! Looking forward to checking this out :-) Alas it is presently OpenGL 3.2 powered, so I will not shortly be asking you for Emscripten tips. Haha no worries. The only emscripten I know is enough to get BeebAsm to work in BeedIDE :) Built pretty easily - nice work. I sent some PRs to...