#Retro
10 posts tagged “Retro”
10 posts tagged “Retro”
More fun playing with BBC Twitter Bot.
https://tco/ks0jhudxdM
https://tco/jVpUMLBa8D
https://tco/Rt3DOf1FOh
Got a new Mac with Catalina pre-installed, so had to compile my own version of Beebasm for the 64 bit OS.
BBC Micro machine code take on C64 10 Print one line random pattern generator.
Code at Github 10print.asm
\ 10 PRINT
\ Using BeebASM assembler
\ (c) Alastair Montgomery
INCLUDE "../lib/constants.asm"
seed = &70
ORG &2000
.start
LDA #23
STA seed
LDA #63
STA seed+1
LDX #0
.char
LDA chartable, X
JSR oswrch
INX
CPX #23
BNE char
.loop
JSR random
BMI two
.one
LDA #224
JMP print
.two
LDA #225
.print
JSR oswrch
JMP loop
.finish
RTS
.random
INCLUDE "../lib/random.asm"
.chartable
EQUB 22,0
EQUB 23,224,8,8,12,7,224,48,16,16
EQUB 23,225,16,16,48,224,7,12,8,8
.end
SAVE "MyCode", start, end
Been trying to relearn 6502 assembly language for fun, its a lot faster and easier than the first time on actual hardware when I was a teenager.
Been using a book I picked up from eBay Discovering BBC Micro Machine Code by A.P. Stephenson
Using BeebAsm assembler on my Mac with a BBC Micro emulator, rather than build in BBC BASIC one.
You can find my code at Github https://github.com/alastairhm/beebasm
This example draws a line of zeros to Mode 7, see screenshot below.
BBC Micro take on C64 10 Print one line random pattern generator.
10 MODE 0
20 N=RND(1):IF N > 0.5 THEN PRINT "/"; ELSE PRINT "\";
30 GOTO 20
RUN
New retro game, looks worth getting a Amstrad CPC emulator setup to play it.
Juan’s games: (https://www.usebox.net/jjm/)
Buy physical copies of these games:
New retro game, looks worth getting a Commodore emulator setup to play it.
This style of game is one of my favorites, loved Boulder Dash and Repton.
One of the games I loved playing in my youth on my BBC Micro, I’m still rubbish at it to this day.