Search found 217 matches

by ctr
Sun Dec 02, 2018 1:22 am
Forum: projects
Topic: Starting a port of Stunt Car Racer...
Replies: 22
Views: 879

Re: Starting a port of Stunt Car Racer...

:shock: When I saw that comment back in June I laughed and I thought no chance. But here it is! It plays really well with a good frame rate. Obviously there's loads more to do but it looks like you've broken the back of it. Congratulations!
by ctr
Thu Nov 29, 2018 7:21 pm
Forum: projects
Topic: A new MENU system for MMC/Gotek/ (GOTEK working)
Replies: 55
Views: 1927

Re: (Just starting) A new MENU system for MMC/Gotek/?

Scratch that, it seems to be beebem (at least the version that I am using) related, the power on beep never ends either, so I hadn't fixed that either! If you use *OPT4,2 then your code is entered with interrupts disabled. You have to enable interrupts to stop the beep, get keyboard input, etc. I d...
by ctr
Thu Nov 29, 2018 5:00 pm
Forum: general
Topic: Disassembly of Orlond's Meanies (written by Terry Blunt)
Replies: 9
Views: 364

Re: Disassembly of Orlond's Meanies (written by Terry Blunt)

I don't know where to find this data direction register. I see I have more to read up on. The data direction register is a register in the System VIA, a 6522 chip. Chapter 23 of the Advanced User Guide (a pdf is readily available online) describes how the beeb talks to the keyboard through the Syst...
by ctr
Mon Nov 26, 2018 4:18 pm
Forum: archive requests
Topic: Does anyone want to play Poker?
Replies: 6
Views: 220

Re: Does anyone want to play Poker?

The usual rule is that you count all the cards. So Ace, King, ... beats Ace, Queen, ...

Another rule is that you can't play with no money, but the computer had £-30!
by ctr
Tue Nov 13, 2018 10:44 pm
Forum: software: classic games
Topic: Chuckie Egg Disassembly
Replies: 12
Views: 616

Re: Chuckie Egg Disassembly

I did glance at the code for Chuckie Egg 2009. It is identical to the standard version except for the chuckie banner change and the removal of two redundant calls to osbyte &7C (clear escape condition). However, the code doesn't expect ladders in the first column so it doesn't check the screen edge ...
by ctr
Tue Nov 13, 2018 5:41 pm
Forum: software: classic games
Topic: Chuckie Egg Disassembly
Replies: 12
Views: 616

Re: Chuckie Egg Disassembly

It would be awesome if a level editor + dfs + game excluding key selection could be squeezed into memory, but it would be a tight fit. Though it wouldn't be a dead end if an attempt failed. While you're editing a level all you need resident is the current level, code to edit it and code to play test...
by ctr
Mon Nov 12, 2018 8:09 pm
Forum: software: classic games
Topic: Chuckie Egg Disassembly
Replies: 12
Views: 616

Re: Chuckie Egg Disassembly

When I wrote the above I thought I really should have asked on stardot before embarking on this... Just looked through yours. If you open the source in a web browser and scale it down to 30% (with CTRL+-) the sprites become somewhat visible. We also structured the map data in much the same way. Your...
by ctr
Mon Nov 12, 2018 6:53 pm
Forum: software: classic games
Topic: Chuckie Egg Disassembly
Replies: 12
Views: 616

Chuckie Egg Disassembly

Playing the recent highscore challenge reminded me how much I enjoy Chuckie Egg and I was curious to look at the code. There are a lot of Chuckie Egg hacks about so I'm sure the beeb version must have been disassembled a few times but I couldn't find one. So I made one: https://github.com/mungre/chu...
by ctr
Sun Nov 11, 2018 6:55 pm
Forum: software: games - high scores
Topic: High Score Challenge S10 - R8 - Carnival
Replies: 39
Views: 938

Re: High Score Challenge S10 - R8 - Carnival

Getting there... 17,310
by ctr
Wed Nov 07, 2018 5:28 pm
Forum: software: games - high scores
Topic: High Score Challenge S10 - R8 - Carnival
Replies: 39
Views: 938

Re: High Score Challenge S10 - R8 - Carnival

This is frustrating. The last thing I did was miss a diving duck and hit a -500.

11,300
by ctr
Mon Nov 05, 2018 4:17 pm
Forum: general
Topic: master.ttf
Replies: 19
Views: 898

Re: master.ttf

I finally got round to doing all the mode variants. They are in mastermodes.zip, attached to the top post. There are five fonts, "Master Mode 0", "Master Mode 1", "Master Mode 2", "Master Mode 3" and "Master Mode 6". The only major change is that "Master Mode 1" replaces "Master". There have been a ...
by ctr
Sun Oct 28, 2018 4:27 pm
Forum: software: games - high scores
Topic: High Score Challenge S10 - R7 - Chuckie Egg 2009
Replies: 45
Views: 1284

Re: High Score Challenge S10 - R7 - Chuckie Egg 2009

Level 20 took a few attempts and a lot of lives, but after that it's gravy until level 26. Which is ridiculous.
by ctr
Sat Oct 27, 2018 8:45 pm
Forum: software: games - high scores
Topic: High Score Challenge S10 - R7 - Chuckie Egg 2009
Replies: 45
Views: 1284

Re: High Score Challenge S10 - R7 - Chuckie Egg 2009

Slight improvement, but still stuck on level 18.
by ctr
Sat Oct 27, 2018 12:44 am
Forum: programming
Topic: Confused about OS Routines
Replies: 4
Views: 237

Re: Confused about OS Routines

If you disassemble the code at &FFEE it reads JMP (&020E).

They are two sides of the same coin. The vector at &020E is provided to enable you to intercept OSWRCH. The entry point at &FFEE is provided to make it convenient to call through the vector.
by ctr
Fri Oct 26, 2018 11:23 am
Forum: bbcmicro.co.uk
Topic: Chuckie Egg 2009
Replies: 15
Views: 1027

Re: Chuckie Egg 2009

I think you're right. It looks like RTW took Dave Edwards new levels and dropped them into the original beeb version. But didn't include his code which adds even more colours.
by ctr
Fri Oct 26, 2018 10:35 am
Forum: bbcmicro.co.uk
Topic: Chuckie Egg 2009
Replies: 15
Views: 1027

Re: Chuckie Egg 2009

Found this. So it looks like it was Dave Edwards, then RTW did a further patch for the BBC version. RTW says he added colours, but it doesn't look any more colourful then the original. Maybe I'm misremembering.

Also, the Dave Edwards version seems to have a level editor.
by ctr
Fri Oct 26, 2018 1:09 am
Forum: bbcmicro.co.uk
Topic: Chuckie Egg 2009
Replies: 15
Views: 1027

Chuckie Egg 2009

The current high score competition is for Chuckie Egg 2009 . The page says the game is Chuckie Egg 2009 by Dave Edwards, published by Organ Grinder's Monkey. However, when I run the game, it describes itself as Chuckie Egg 6 and the mode 7 splash screen says "Upgrade by Rich Talbot-Watkins 2009". We...
by ctr
Fri Oct 26, 2018 12:27 am
Forum: software: games - high scores
Topic: High Score Challenge S10 - R7 - Chuckie Egg 2009
Replies: 45
Views: 1284

Re: High Score Challenge S10 - R7 - Chuckie Egg 2009

Yes, level 18 is really hard.

170,800
by ctr
Thu Oct 25, 2018 8:06 pm
Forum: software: games - high scores
Topic: High Score Challenge S10 - R7 - Chuckie Egg 2009
Replies: 45
Views: 1284

Re: High Score Challenge S10 - R7 - Chuckie Egg 2009

I managed to complete level 12 by having lots of lives at the start of it and then struggled on to 16.

144,510
by ctr
Wed Oct 24, 2018 5:37 pm
Forum: software: other
Topic: Beebem startup sounds
Replies: 6
Views: 327

Re: Beebem startup sounds

It's not silly. It does get irritating when you're repeatedly running beebem to test your software. You've prompted me to find a (hideous) workaround using powershell. Which does assume you're on Windows. And it's only tested on Windows 10. Save this in a file called "runbeebem.ps1" (note that's a o...
by ctr
Tue Oct 23, 2018 6:49 pm
Forum: software: games - high scores
Topic: High Score Challenge S10 - R7 - Chuckie Egg 2009
Replies: 45
Views: 1284

Re: High Score Challenge S10 - R7 - Chuckie Egg

I've not seen this one before either. Level 4 is a horror.

38,570 level 8
by ctr
Tue Oct 23, 2018 11:15 am
Forum: software: other
Topic: Assembler equivalent of Colour command in basic
Replies: 3
Views: 226

Re: Assembler equivalent of Colour command in basic

All the BASIC graphics and text commands are implemented by sending bytes to OSWRCH. The BBC Micro User Guide has a good intro starting on page 347.

To set the text colour you write 17 followed by the colour value:

Code: Select all

REM Red text
VDU 17,1
Or

Code: Select all

; Red text
LDA #17
JSR OSWRCH
LDA #1
JSR OSWRCH
by ctr
Thu Oct 11, 2018 12:32 am
Forum: off-topic
Topic: Linux partition format
Replies: 28
Views: 870

Re: Linux partition format

When my laptop's hdd was failing, reads of bad sectors were taking 30 seconds to time out. So even though there wasn't much going on the disk often appeared to be very busy. You can use iotop to see what processes are using the disk. However, if it's not installed I wouldn't bother because installin...
by ctr
Fri Sep 21, 2018 5:02 pm
Forum: general
Topic: Does anyone 'own' SSD and DSD
Replies: 21
Views: 681

Re: Does anyone 'own' SSD and DSD

I don't know anything about Macs but that won't stop me commenting either! It's using a reverse DNS scheme. The idea is that anyone can create a globally unique identifier using a domain that they control. So the "com.acorn." namespace is reserved for the clothing retailer acorn.com. So if you're lo...
by ctr
Sat Sep 08, 2018 11:15 am
Forum: development tools
Topic: beebasm -boot and -opt
Replies: 4
Views: 261

Re: beebasm -boot and -opt

The -opt parameter only accepts the boot option (i.e. miss out the 4):

Code: Select all

beebasm -i main.asm -do disk.ssd -boot HMC -opt 3
Or if you have a -boot parameter it defaults to boot option 3 so you can leave it out:

Code: Select all

beebasm -i main.asm -do disk.ssd -boot HMC
by ctr
Sat Sep 01, 2018 4:36 pm
Forum: general
Topic: master.ttf
Replies: 19
Views: 898

Re: master.ttf

Could do with a narrow and wide variant. You're right. I was thinking (from a programmer's point of view) that it is very easy to stretch the text when you render it, but that's not much use if a particular application doesn't have that feature. So it needs variants for modes 0, 1, 2, 3 and 6. At t...
by ctr
Thu Aug 30, 2018 11:39 pm
Forum: general
Topic: master.ttf
Replies: 19
Views: 898

Re: master.ttf

the glyphs can occupy any proportion of that square. True, although a traditional typographer (and I was brought up with metal type) might raise an eyebrow! The font doesn't have any leading. Descenders on one row meet capitals on the next to reproduce the beeb look. I would have preferred it to re...
by ctr
Thu Aug 30, 2018 6:01 pm
Forum: general
Topic: master.ttf
Replies: 19
Views: 898

Re: master.ttf

There's some slight fringing in OS X Emacs, I assume because of anti-aliasing. On Windows, horizontal fringing seems unavoidable in apps that use sub-pixel anti-aliasing, but it's perfect with regular anti-aliasing. The horizontal fringing is not as rough as your OS X example though. What point siz...
by ctr
Thu Aug 30, 2018 5:00 pm
Forum: general
Topic: master.ttf
Replies: 19
Views: 898

Re: master.ttf

9pt text on a 96dpi screen is exactly 8x8 pixels. I can't quite see how that works out. 9pt is 1/8" (72 points to an inch), so at 96dpi shouldn't that be 12 pixels? I appreciate that there may be an adjustment for leading. Truetype scales the "em square" according to your calculation, but the glyph...
by ctr
Thu Aug 30, 2018 10:34 am
Forum: general
Topic: master.ttf
Replies: 19
Views: 898

Re: master.ttf

Cheers. 12 would have been a more natural em-size but true-type won't go below 16.