Search found 1647 matches

by Rich Talbot-Watkins
Thu Nov 19, 2020 9:38 am
Forum: new projects in development: games
Topic: New version of PacMan (PuckMan) for the BBC Micro
Replies: 64
Views: 2156

Re: New version of PacMan (PuckMan) for the BBC Micro

That screen would compress down to 30% I'm sure!
by Rich Talbot-Watkins
Thu Nov 19, 2020 8:15 am
Forum: software & utilities for the pc, mac or unix
Topic: Beebasm: Macros with string arguments
Replies: 6
Views: 221

Re: Beebasm: Macros with string arguments

Sorry, this won't work in BeebAsm. String variables aren't supported at all, be they regular symbols or macro parameters. String literals are really no more than a special case hack for whichever keywords take them (EQUS, INCLUDE, etc)
by Rich Talbot-Watkins
Mon Nov 16, 2020 7:46 am
Forum: programming
Topic: In-game music
Replies: 27
Views: 1925

Re: In-game music

My guess is to defer the sound/music update until after the blanking period, so the game has all the CPU time available to update as much of the screen as possible before the next frame starts being rasterised.
by Rich Talbot-Watkins
Fri Nov 13, 2020 3:10 pm
Forum: 8-bit acorn software: other
Topic: Can 8-bit BBC Basic do ON TIMER or ON VSYNC?
Replies: 20
Views: 429

Re: Can 8-bit BBC Basic do ON TIMER or ON VSYNC?

That indeed seems to be the approach taken by the code in that Acorn User article!
by Rich Talbot-Watkins
Fri Nov 13, 2020 1:41 pm
Forum: 8-bit acorn software: other
Topic: Can 8-bit BBC Basic do ON TIMER or ON VSYNC?
Replies: 20
Views: 429

Re: Can 8-bit BBC Basic do ON TIMER or ON VSYNC?

Oh, I quite like the ninja TRACE and unTRACE. And good to hear that extending Basic by trapping syntax errors (or other errors) is practically workable. I found a couple of articles in Micro User March-April 1988 which shows how this is done, but they weren't the ones I was thinking of. Perhaps it ...
by Rich Talbot-Watkins
Fri Nov 13, 2020 12:58 pm
Forum: 8-bit acorn software: other
Topic: Can 8-bit BBC Basic do ON TIMER or ON VSYNC?
Replies: 20
Views: 429

Re: Can 8-bit BBC Basic do ON TIMER or ON VSYNC?

That's clever! I guess there are various ways you could do this - another way would be to search forward for the next BASIC line on the interrupt, and replace the first character with something which would never occur (even a control code), and then catch that using the same mechanism with the BRKV,...
by Rich Talbot-Watkins
Fri Nov 13, 2020 12:20 pm
Forum: 8-bit acorn hardware
Topic: Why Shift Lock?
Replies: 24
Views: 653

Re: Why Shift Lock?

In fact, this is the sort of thing that would go in a sideways ROM, not in the MOS. The MOS provides the core, sideways ROMs provide extensions to the core. I think there were certainly some missed opportunities in OS 1.20, and the input handling was one of them, as good as the split cursor editing...
by Rich Talbot-Watkins
Fri Nov 13, 2020 12:17 pm
Forum: 8-bit acorn hardware
Topic: Why Shift Lock?
Replies: 24
Views: 653

Re: Why Shift Lock?

I thought that was a Master-only thing, but trying it now on jsbeeb, I see it works in BBC B mode too! Live and learn...
by Rich Talbot-Watkins
Fri Nov 13, 2020 11:59 am
Forum: 8-bit acorn software: other
Topic: Can 8-bit BBC Basic do ON TIMER or ON VSYNC?
Replies: 20
Views: 429

Re: Can 8-bit BBC Basic do ON TIMER or ON VSYNC?

I remember a Micro User article which added new keywords to BASIC (a hack involving intercepting the BRK vector, and responding to BASIC errors when it encountered a "Mistake" by parsing the current BASIC line, doing the new action, and then jumping directly back into the BASIC ROM to continue execu...
by Rich Talbot-Watkins
Thu Nov 12, 2020 2:22 pm
Forum: 8-bit acorn hardware
Topic: Why Shift Lock?
Replies: 24
Views: 653

Re: Why Shift Lock?

I was thinking about that myself. It could've been implemented in the BBC OS with minimal memory overhead by remembering the last buffer address passed to OSWORD 0, and storing the length and a CRC of the last typed line. Then, on a subsequent call, if the buffer address matches, and the CRC of memo...
by Rich Talbot-Watkins
Thu Nov 12, 2020 11:33 am
Forum: 8-bit acorn hardware
Topic: Why Shift Lock?
Replies: 24
Views: 653

Re: Why Shift Lock?

Shift Lock was always totally useless, but I got to thinking what could have gone in its place and the only thing I could think of was "Scroll Lock". I guess that could've had its uses.
by Rich Talbot-Watkins
Wed Nov 11, 2020 6:02 pm
Forum: archive submissions
Topic: Teenage Mutant Hero Turtles World Tour
Replies: 10
Views: 373

Re: Teenage Mutant Hero Turtles World Tour

It's probably a few hundred lines of BASIC!
by Rich Talbot-Watkins
Wed Nov 11, 2020 11:19 am
Forum: 8-bit acorn software: other
Topic: Acornsoft Graphics Extension ROM (GXR) for the Electron
Replies: 18
Views: 681

Re: Acornsoft Graphics Extension ROM (GXR) for the Electron

It looks like it directly calls various routines in the OS which have no public entry point, e.g. the routine which plots a fast horizontal line between two points, filling byte at a time. So the specific version of the GXR ROM has to match the installed OS. I can only guess that the GXR ROM was alr...
by Rich Talbot-Watkins
Mon Nov 09, 2020 10:56 am
Forum: 8-bit acorn software: classic games
Topic: Wizadore
Replies: 31
Views: 5583

Re: Wizadore

I think Wizadore would've fitted the Ultimate catalogue perfectly, but I guess the platform was a bit too niche compared to Spectrum/C64. It's actually well programmed too, with quite a few big sprites at once and some nice scrolling (including a stationary part at the bottom), but it's a shame it's...
by Rich Talbot-Watkins
Sun Nov 08, 2020 8:13 pm
Forum: 8-bit acorn software: classic games
Topic: Life of Repton: level data variant / fix?
Replies: 6
Views: 290

Re: Life of Repton: level data variant / fix?

Reasonably sure this is to do with the value the RAM starts off at on different motherboard revisions. The Beeb doesn't initialise any of the zero page, or the first byte of every page on reset, and on early Beebs they will be 255, and on later ones, 0 (I'm not really clear why this is). So if a gam...
by Rich Talbot-Watkins
Thu Nov 05, 2020 2:28 pm
Forum: programming
Topic: Unfinished game bone muncher
Replies: 3
Views: 393

Re: Unfinished game bone muncher

Sometime I'll have to dig out my old laptop and try and tidy up the source code and get it on Github. These days, it pales into insignificance compared to some of the amazing stuff Tricky has produced. But it pioneered a few cool techniques back in its day :) I found a disk image of it, so you can s...
by Rich Talbot-Watkins
Wed Nov 04, 2020 7:52 am
Forum: 8-bit acorn software: classic games
Topic: Wizadore
Replies: 31
Views: 5583

Re: Wizadore

Watching a playthrough on YouTube, I noticed that the sword is emblazoned with the familiar initials ACG (Ashby Computers and Graphics) as per various other Ultimate Play the Game titles. So it seems as if Wizadore was to be published by them at some point. It's very much their "type" of game. Pagin...
by Rich Talbot-Watkins
Tue Oct 20, 2020 7:57 am
Forum: 8-bit acorn software: other
Topic: Why was BBC BASIC so fast?
Replies: 196
Views: 6923

Re: Why was BBC BASIC so fast?

Yes, I was going to say the same thing. Perhaps it would've been better to have the language ROMs paged over &C000...&FC00 (with the final 1k never paged out), but I think it would've been hard to lose 1k of code from the BASIC ROM. Skip that, it would never have worked. I think the memory map was p...
by Rich Talbot-Watkins
Sat Oct 17, 2020 8:05 pm
Forum: 8-bit acorn emulators
Topic: 6502 cycle-level instruction detail
Replies: 19
Views: 880

Re: 6502 cycle-level instruction detail

In the particular example you gave (ROR abs,x), here's how the cycles break down. Let's say we're executing ROR &32F0,X with X=&28. - Fetch opcode ROR abs,X, increment PC * - Fetch low byte of address (&F0), increment PC - Fetch high byte of address (&32), add X to low byte without carry, increment ...
by Rich Talbot-Watkins
Sat Oct 17, 2020 7:55 am
Forum: 8-bit acorn software: classic games
Topic: Unused Citadel bits
Replies: 106
Views: 15159

Re: Unused Citadel bits

Hmm, true. I don't think there's any synchronisation with vsync at all, so it could indeed happen at any moment and result in the occasional frame without vertical display disable. Perhaps some monitors expect no signal during vsync, and won't sync if there is.
by Rich Talbot-Watkins
Sat Oct 17, 2020 7:13 am
Forum: 8-bit acorn software: classic games
Topic: Unused Citadel bits
Replies: 106
Views: 15159

Re: Unused Citadel bits

That's weird. From Diminished's disassembly, I only see it setting CRTC R6 (vertical displayed) to 2 while it redraws the screen - nothing there which would affect VSync, or have that kind of strange effect. It also plays with R5 (vertical adjust) during gameplay, to shake the screen when the player...
by Rich Talbot-Watkins
Wed Oct 14, 2020 10:41 am
Forum: programming
Topic: [SOLVED] Noob question about sound on Beeb
Replies: 9
Views: 341

Re: Noob question about sound on Beeb

BeebEm, in spite of its continued popularity, isn't exactly renowned for its accuracy. I suspect B-Em and jsbeeb are doing the right thing, but the question is why? You definitely need 16 cycles between the two writes (I normally put two dummy LDA (&00,X) instructions, or try to fill the time with u...
by Rich Talbot-Watkins
Mon Oct 12, 2020 10:48 am
Forum: 8-bit acorn software: classic games
Topic: Unused Citadel bits
Replies: 106
Views: 15159

Re: Unused Citadel bits

+1

Always happy when this thread resurfaces! Citadel has always been a standout game on the Beeb, and it's fascinating to learn some of its inner secrets.
by Rich Talbot-Watkins
Thu Oct 08, 2020 6:33 pm
Forum: programming
Topic: Mode 2 Printing at Column 19, Row 31?
Replies: 9
Views: 582

Re: Mode 2 Printing at Column 19, Row 31?

lurkio wrote:
Thu Oct 08, 2020 3:28 pm
EDIT: Looks like you need to change 254 to 253 (on line 40).
Thanks, yes, you're completely right! I couldn't do 2 EOR 255 in my head properly. Have edited my post accordingly!
by Rich Talbot-Watkins
Thu Oct 08, 2020 2:13 pm
Forum: programming
Topic: Mode 2 Printing at Column 19, Row 31?
Replies: 9
Views: 582

Re: Mode 2 Printing at Column 19, Row 31?

I use VDU 5 for that literal corner case as suggested before There is also another way, if you are targeting 8 bit machines without a second processor. 10 MODE 2 20 ?&D0=?&D0 OR 2 30 PRINT TAB(19, 31);"*"; 40 ?&D0=?&D0 AND 253 Line 20 will disable scrolling entirely, and line 40 re-enables it. It's...
by Rich Talbot-Watkins
Wed Oct 07, 2020 8:08 pm
Forum: archive submissions
Topic: Original Acorn DMOS Basic (Basic 4.0x ish) Source Code
Replies: 4
Views: 217

Re: Original Acorn DMOS Basic (Basic 4.0x ish) Source Code

This disassembly more or less confirms the original names for the COLOUR, GCOL and SOUND keywords that I speculated about here!
TBAS01 wrote:

Code: Select all

 = "COLOUR"
 = TTEXT,2

Code: Select all

 = "SOUND"
 = TBEEP,2

Code: Select all

 = "GCOL"
 = TGRAPH,2
 
No hints on what VDU used to be called though (the label is also called TVDU).
by Rich Talbot-Watkins
Wed Oct 07, 2020 7:26 pm
Forum: 8-bit acorn software: other
Topic: Simple demo for SHADOW screen modes?
Replies: 21
Views: 752

Re: Simple demo for SHADOW screen modes?

There's the "castle and cloud" demo on the Master Welcome Disc if that counts? Uses shadow RAM to double buffer the cloud animation.
by Rich Talbot-Watkins
Sat Oct 03, 2020 10:46 pm
Forum: 8-bit acorn software: classic games
Topic: Tube elite - Differences and versions
Replies: 3
Views: 380

Re: Tube elite - Differences and versions

Isn't Master Elite less flickery, due to the graphics being undrawn/redrawn on a line-by-line basis, instead of undrawing an entire model and then redrawing it? I think Tube Elite (like the original) used the latter method.
by Rich Talbot-Watkins
Tue Sep 15, 2020 11:31 am
Forum: 8-bit acorn software: classic games
Topic: Castle Quest disc, Master compatible version
Replies: 2
Views: 292

Re: Castle Quest disc, Master compatible version

I remember it well! When Castle Quest was circulating in the school computer room as the new game du jour, I couldn't wait to get home and try it on my Master, with exactly that result! Wasn't the first time my Master had let me down (Elite, Knight Lore, Frak, Zalaga, Contraption, Citadel...).
by Rich Talbot-Watkins
Fri Sep 11, 2020 8:02 pm
Forum: 8-bit acorn hardware
Topic: 8271 disc controller de-cap and craziness -- do not try this at home!
Replies: 449
Views: 18828

Re: 8271 disc controller de-cap and craziness -- do not try this at home!

That's awesome.

And you may also possibly have written the most niche program ever written! :lol:

Go to advanced search