Search found 203 matches

by Matt Godbolt
Tue Aug 11, 2020 2:56 pm
Forum: 8-bit acorn emulators
Topic: jsbeeb "native" app
Replies: 11
Views: 509

Re: jsbeeb "native" app

I'm not sure re: pi. Maybe ScaryBeasts knows more?
by Matt Godbolt
Mon Jun 15, 2020 2:11 pm
Forum: 8-bit acorn emulators
Topic: Floppy Image Formats
Replies: 18
Views: 1051

Re: Floppy Image Formats

scarybeasts wrote:
Mon Jun 15, 2020 9:00 am
There are vague plans to add HFE support to jsbeeb although I'm hoping to persuade someone other than me to do it :)
I'll try and de-vaguify those plans mate...
by Matt Godbolt
Wed Jun 10, 2020 10:53 pm
Forum: 8-bit acorn emulators
Topic: Threads and emulators
Replies: 38
Views: 1491

Re: Threads and emulators

Do you have any opinions/ideas/thoughts on the actual ideas I had for threading Matt? Yes! Nothing over what's been said here. The devil is in the details, and how much of an accuracy trade off you want to make. Ultimately, for the core emulation and peripherals, to be cycle-accurate, everything ne...
by Matt Godbolt
Wed Jun 10, 2020 7:55 pm
Forum: 8-bit acorn emulators
Topic: Threads and emulators
Replies: 38
Views: 1491

Re: Threads and emulators

Please, for the love of god , do NOT do this. Your application is not going to be better at allocating threads across multiple CPU cores than the OS scheduler is. Can't agree enough with this point. In nearly every case I've seen this being done it's been a pessimisation. For context, I spend my da...
by Matt Godbolt
Sun Jun 07, 2020 4:35 pm
Forum: 8-bit acorn emulators
Topic: Emulator with an expect-like interface?
Replies: 6
Views: 487

Re: Emulator with an expect-like interface?

That part is text-only, yes; but other tests can and do look at other state in the machine. What do you need to be able to do? Screenshotting is posisble (as you say, the Twitter bot uses this feature of jsbeeb amongst other tricks). If not a screenshot, what kind of thing - expect and pexpect are b...
by Matt Godbolt
Sun Jun 07, 2020 4:22 pm
Forum: 8-bit acorn emulators
Topic: jsbeeb "native" app
Replies: 11
Views: 509

Re: jsbeeb "native" app

Glad to hear it might serve a real need!

Re: "local" jsbeeb, it needs to be served by a web server unfortunately as you've discovered. I usually have python installed somewhere and running

Code: Select all

$ python -mSimpleHTTPServer
does the trick for me, but I don't know how things work on Macs.
by Matt Godbolt
Sat Jun 06, 2020 10:38 pm
Forum: 8-bit acorn emulators
Topic: jsbeeb "native" app
Replies: 11
Views: 509

Re: jsbeeb "native" app

... I should have googled! https://www.balena.io/blog/electronjs-t ... ate-guide/ :D apparently so! Whether it's fast enough...
by Matt Godbolt
Sat Jun 06, 2020 10:38 pm
Forum: 8-bit acorn emulators
Topic: jsbeeb "native" app
Replies: 11
Views: 509

Re: jsbeeb "native" app

I don't know if it'd work on a Pi; I don't think electron builds down to it (it needs a working Chromium...and it might not be quick enough...) We'll see !
by Matt Godbolt
Sat Jun 06, 2020 9:43 pm
Forum: 8-bit acorn emulators
Topic: jsbeeb "native" app
Replies: 11
Views: 509

Re: jsbeeb "native" app

It's absolutely an "electron" app yes. But I didn't want to mention that here in case of miss-selling the feature!! "Electron mode" for jsbeeb ;)
by Matt Godbolt
Sat Jun 06, 2020 9:29 pm
Forum: 8-bit acorn emulators
Topic: jsbeeb "native" app
Replies: 11
Views: 509

Re: jsbeeb "native" app

Re: menus for master mode etc! That's the idea yes. Initially it'll probably trigger the "in browser" config; but as I work more probably come up with a way to make the config more "native" :)
by Matt Godbolt
Sat Jun 06, 2020 8:30 pm
Forum: 8-bit acorn emulators
Topic: jsbeeb "native" app
Replies: 11
Views: 509

jsbeeb "native" app

Hello folks! As announced at ABUG today, I have a special new feature for jsbeeb: you can now run it like a native app! Releases will be made periodically: you can check it out and download installers for Windows, Mac and Linux at: https://github.com/mattgodbolt/jsbeeb/releases All very early days, ...
by Matt Godbolt
Sat Jun 06, 2020 8:18 pm
Forum: 8-bit acorn emulators
Topic: Emulator with an expect-like interface?
Replies: 6
Views: 487

Re: Emulator with an expect-like interface?

Some of the tests in jsbeeb sort of work this way: https://github.com/mattgodbolt/jsbeeb/b ... st.js#L200 is a (bad) example. Could be improved a lot though. Let me know if it's interesting!
by Matt Godbolt
Mon May 18, 2020 1:26 pm
Forum: 8-bit acorn emulators
Topic: New beebjit release: v0.9.1
Replies: 51
Views: 2905

Re: New beebjit release: v0.9.1

Is JS, or web assembly, a useful and feasible target for these techniques? The core of jsbeeb was tweaked a while back to make it a little more amenable to being "JIT"ted, but the biggest concern is SMC. The clever trick beebjit is able to do to detect writes in a cheap way is not available in JS, ...
by Matt Godbolt
Thu Apr 30, 2020 1:35 am
Forum: the complete BBC games archive
Topic: Upgrading the version of jsbeeb on bbcmicro.co.uk
Replies: 29
Views: 1464

Re: Upgrading the version of jsbeeb on bbcmicro.co.uk

Awesome! Ping me directly if I can be helpful (matt at godbolt dot org if that helps!)
by Matt Godbolt
Wed Apr 29, 2020 9:12 pm
Forum: the complete BBC games archive
Topic: Upgrading the version of jsbeeb on bbcmicro.co.uk
Replies: 29
Views: 1464

Re: Upgrading the version of jsbeeb on bbcmicro.co.uk

Happy to help too! Should be easy enough to `git submodule` in, or `iframe` the bbc.godbolt.org version, or anything in between :)
by Matt Godbolt
Fri Aug 23, 2019 3:51 pm
Forum: 8-bit acorn emulators
Topic: Emulation tests
Replies: 13
Views: 1207

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 10:29 pm
Forum: 8-bit acorn emulators
Topic: Emulation tests
Replies: 13
Views: 1207

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 4:16 pm
Forum: 8-bit acorn emulators
Topic: Emulation tests
Replies: 13
Views: 1207

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 4:15 pm
Forum: 8-bit acorn emulators
Topic: Emulation tests
Replies: 13
Views: 1207

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 2:11 pm
Forum: 8-bit acorn emulators
Topic: Uridium and other games not working on JSBeeb
Replies: 30
Views: 1785

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: 8-bit acorn software: other
Topic: help in using JSBeeb to debug code
Replies: 11
Views: 872

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 3:29 pm
Forum: 8-bit acorn emulators
Topic: BeebEm now in WebAssembly (in-browser)
Replies: 14
Views: 1971

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: 8-bit acorn software: other
Topic: Speech
Replies: 17
Views: 2137

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: 8-bit acorn software: other
Topic: Speech
Replies: 17
Views: 2137

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: new projects in development: games
Topic: Going great guns on a Prince of Persia port...
Replies: 228
Views: 36093

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: new projects in development: games
Topic: Going great guns on a Prince of Persia port...
Replies: 228
Views: 36093

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: 8-bit acorn emulators
Topic: Double-clicking .SSD overrides VDU 14 ?!
Replies: 13
Views: 1688

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: 8-bit acorn emulators
Topic: Double-clicking .SSD overrides VDU 14 ?!
Replies: 13
Views: 1688

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: 8-bit acorn emulators
Topic: jsbeeb - a Javascript emulator
Replies: 153
Views: 24097

Re: jsbeeb - a Javascript emulator

Thanks vanekp; I'll have to see what I'm doing wrong! Cheers, Matt

Go to advanced search