avatar
L Break Into Program @breakintoprogram.co.uk

Is this similar to the way Elite on the Beeb does it @markmoxon.bsky.social?

aug 24, 2025, 1:08 pm • 0 0

Replies

avatar
Mark Moxon @markmoxon.bsky.social

Been a while since I looked at this bit of code, but Elite does the whole division thing. Not surprising really - the authors were super-proud of their maths routines, so they used them! Deepish dive: elite.bbcelite.com/deep_dives/l... The clipping code: elite.bbcelite.com/cassette/mai...

aug 24, 2025, 6:35 pm • 3 0 • view
avatar
L Break Into Program @breakintoprogram.co.uk

Might take a closer look at their code to see if there are any tricks i can borrow.

aug 24, 2025, 6:46 pm • 1 0 • view
avatar
L Break Into Program @breakintoprogram.co.uk

Yeah I just had a quick scan of the code. Don’t blame them tbh.

aug 24, 2025, 6:42 pm • 2 0 • view
avatar
Michael Kilpatrick @mtkilpatrick.bsky.social

I'm slightly puzzled. They are doing a load of division, but surely it's more efficient to do the chop that you describe?

aug 27, 2025, 10:50 pm • 1 0 • view
avatar
L Break Into Program @breakintoprogram.co.uk

Maybe. But it is probably quicker than drawing the entire line and writing a 16 bit plot routine that checks each point is on screen.

aug 27, 2025, 10:54 pm • 0 0 • view