@raymierussell @Wintermute_BBS
this is the one I found interesting today,
a great read on the way the arcade game "space invaders" works from an assembly coding point of view. not neccesarily the best way lol...
https://www.computerarcheology.com/Arcade/SpaceInvaders/
whats great is after only a month of making an effort to learn z80, I can follow this sort of stuff now lol. its great if your learning z80 with an aim to make games to see how things can be done.
#retrogaming #z80 #assembly #machinecode
OK hivemind a question to end the week.
What piece of #code has run the most times since #computing began, and what device(s) does it run on? 🤔
#software #program #assembler #machinecode
#code #computing #software #program #assembler #machinecode
Start from $C000:
00 C0 20 9B B7 A2 00 8A 4A A8 90 05 A9 3C 20 D2 FF A9 2D C0 00 F0 06 20 D2 FF
88 D0 FA 8A 4A B0 05 A9 3E 20 D2 FF A9 0D 20 D2 FF E8 E4 65 D0 D7 60
#Commodore #C64 #MachineCode
Now use like:
SYS 49152, 4
Source -> https://codegolf.stackexchange.com/a/177504/118088
29 0F 09 D0 85 FC A9 33 85 01 A5 FD 29 07 A8 B1 FB A2 37 86 01 25 FE D0 05 AD
21 D0 85 02 A6 D6 20 F0 E9 A5 02 29 0F AA BC D2 C0 20 BC C0 BC E2 C0 20 B7 C0
BC F2 C0 A9 2C 20 D2 FF 98 0A A9 30 90 02 A9 31 20 D2 FF A9 2E 20 D2 FF 98 29
7F 4C D2 FF 30 B0 35 35 36 33 32 39 36 33 38 33 35 37 34 37 30 B0 32 38 32 37
32 39 33 32 34 33 35 B0 34 37 30 B0 32 38 36 33 36 34 32 30 34 33 35 36 39 37
#Commodore #C64
#MachineCode
2/2
From $C000 ->
00 C0 A2 00 20 CF FF C9 0D 9D 02 C1 F0 03 E8 D0 F3 20 D2 FF A5 7A 85 FB A5 7B
85 FC A9 01 85 7A A9 C1 85 7B 20 73 00 20 6B A9 A5 14 85 FD A5 15 85 FE 20 73
00 20 6B A9 A5 FB 85 7A A5 FC 85 7B A5 14 4A 4A 4A AA 20 F0 E9 A5 FD 46 FE 6A
4A 4A A8 A5 14 29 07 AA A9 00 38 6A CA 10 FC 85 FE B1 D1 0A 26 FC 0A 26 FC 0A
26 FC 85 FB A5 D2 29 03 09 D8 85 D2 B1 D1 85 02 A9 02 18 2D 18 D0 0A 0A 65 FC
#Commodore #C64 #MachineCode
1/2
Code Golf in #6502 is fun -> https://codegolf.stackexchange.com/a/261497/118088
#Commodore #C64 #MachineCode
I wonder if you can make something useful in assembly in the limits of one Mastodon post - or 500 characters? Either as Assembly source, or as just hex bytes, which is about 160 hex bytes including spaces and a start address.
#AskingForAFriend
#6502Assembly
#MachineCode
#Z80
#askingforafriend #6502assembly #machinecode #z80
Bonus update: the TRS-80 Model 100 gains some onscreen text and! it's running LibROM, the custom ROM I created for it. (Grab it here if you have a UK machine and want to run US software, and/or want built-in disk access, etc.: https://sarahkmarr.com/retromodel100.html.)
—
#RetroComputing #TRS80 #TRS80Model100 #MachineCode #Assembly #8085
#retrocomputing #trs80 #trs80model100 #machinecode #assembly
I looked back at the time I got my Commodore 64 in the 80s when I was 16 years old.
*** Free to read on Substack ***
#c64 #commodore64 #commodore #8bit #6502 #6510 #homecomputer #vintage #retro #oldtech #1980s #80s #childhood #family #machinecode #basic #assemblylanguage #assembler #sid #6581
#c64 #commodore64 #Commodore #8bit #homecomputer #vintage #retro #oldtech #1980s #80s #childhood #family #machinecode #basic #assemblylanguage #assembler #sid
@nixCraft
I just thought it looked interesting.
Also my dad worked with computers for the bulk of his life. If you ask, he can tell you how to write a #bootloader in #PDP11 #MachineCode, and he has strong opinions on why #VMS was the best #OperatingSystem ever.
#bootloader #pdp11 #machinecode #vms #operatingsystem
The #ZXSpectrum normally displays a #Font that is 8 pixels high. The 1st and last pixels are usually blank to allow vertical spacing.
I have written a #Z80 #MachineCode program that displays a font that is 5 pixels high. That number is a little cheat as there is a 6th blank pixel to allow proper vertical spacing, the program adds that pixel rather than it being part of the font.
The program also has the paint the colour in as the text now doesn't match the screen attributes.
#machinecode #z80 #font #zxspectrum
Ok time to get this Z80 stuff done.
#machinecode #z80 #retrocomputer #retrogaming #programmimg
A lot of my early days of coding were in #MachineCode, literally writing #Assembly mnemonics and hand converting into Hex codes. I dabbled a bit in #Forth, but not enough to feel competent, but I hope to fix that. It made me think about how code written in any language including BrainF&*k, APL, or TypeScript all ends up as moves and branch-if-not-zeros. A bit like how Chemistry and Physics all reduce to Maths. (For those than know, maybe microcode is fermionic 🙂 )
#MyMusings
#machinecode #assembly #forth #mymusings
Not seen this for years! My old #calculator Got me through school & helped with #6502 #machinecode. Forever doing [mode] 3 to [mode] 0 and back again.