Owlet editor - configuring JSBeeb as a Master 128?

handy tools that can assist in the development of new software
Post Reply
Cantabrigian
Posts: 6
Joined: Thu Feb 29, 2024 9:40 pm
Contact:

Owlet editor - configuring JSBeeb as a Master 128?

Post by Cantabrigian »

I've been using the Owlet editor (https://bbcmic.ro/) recently, and very happily writing quite a lot of BBC BASIC code for the first time in many years.

As you'll know if you've tried it, you can quickly transfer your BASIC program from a modern web based editor, to an emulated BBC micro running on the right hand side of the screen.

Emulation is provided, in the browser, by JSBeeb.

But by default this emulates a BBC Micro model B.

Does anyone know how to configure it so I can run my code on an emulated Master 128? JSBeeb is meant to be able to emulate this machine?
User avatar
scruss
Posts: 653
Joined: Sun Jul 01, 2018 4:12 pm
Location: Toronto
Contact:

Re: Owlet editor - configuring JSBeeb as a Master 128?

Post by scruss »

I know what doesn't work: running a local copy and naïvely editing src/emulator.js from line 22 and changing:

Code: Select all

// let modelName = "BBC Micro Model B";
let modelName = "BBC Master 128 (ADFS)";
let beebjit_incoming = false;
// const Model = models.findModel("B");
const Model = models.findModel("MasterADFS");
This hangs when I enter make run. Model names are from jsbeeb/models.js.

I suspect that Owlet is meant as the stripped-down racing emulator for showing off online, while jsbeeb is built for comfort and versatility. Maybe drop an Issue on the project to ask if changing models can be supported?
Cantabrigian
Posts: 6
Joined: Thu Feb 29, 2024 9:40 pm
Contact:

Re: Owlet editor - configuring JSBeeb as a Master 128?

Post by Cantabrigian »

Many thanks - not the answer I was hoping for, but very helpful. It's saved me some time, as that approach was what I was hoping to try.

I dare say you're right about how Owlet has deliberately stripped down JSBeeb's functionality.
User avatar
scruss
Posts: 653
Joined: Sun Jul 01, 2018 4:12 pm
Location: Toronto
Contact:

Re: Owlet editor - configuring JSBeeb as a Master 128?

Post by scruss »

My stripped-down comment is complete conjecture, so I've raised an issue: option to emulate a Master 128? · Issue #100 · mattgodbolt/owlet-editor

Let's see what (if anything) happens.
Post Reply

Return to “development tools”