Live data from Hacker News

Bare Metal Assembly Raspberry Pi Starfox Tribute

youtube.com

31–37 of 37 posts

Re: Bare Metal Assembly Raspberry Pi Starfox Tribute

#31
post #19

I'm impressed first year students can write such clean assembly. Also that they can write both driver code and a higher level rasterizer.

Why so? I was already looking at Assembly listing at the age of 12. When I was 16, I enjoyed using higher level languages but the real fun was doing Assembly. Kids these days real need to get some of this exploratory desire back.

Fully agree - children have amazing capacity to learn complex things. It's one reason why I'm nervous about code clubs using Scratch; the children can cope with more, so why limit them?

Re: Bare Metal Assembly Raspberry Pi Starfox Tribute

#32

Looks like there's a tiny little emulator for this, too. https://github.com/ICTeam28/PiEmu I've got as far as installing the SDL headers (you're looking for SDL.h from SDL 1.2) and running cmake . but not much further.

Hey, I'm part of the team who wrote this. What platform are you running on? and what errors are you getting?

Nice project! Did you use JTAG or some other (more painful) work flow?

Re: Bare Metal Assembly Raspberry Pi Starfox Tribute

#33

Looking at this project, I feel very very very dumb. I've been using computers for 2 decades and programming for 1 and I can't even imagine doing something like this!

Reading this comment made me very very sad. I've been programming computers for over 3 decades, and this is how we started off in my day. The "MyComputerification" of IT education during the 90's has a lot to answer for...

Re: Bare Metal Assembly Raspberry Pi Starfox Tribute

#34

Looking at this project, I feel very very very dumb. I've been using computers for 2 decades and programming for 1 and I can't even imagine doing something like this!

Reading this comment made me very very sad. I've been programming computers for over 3 decades, and this is how we started off in my day. The "MyComputerification" of IT education during the 90's has a lot to answer for...

Don't worry, I'm currently writing a FAT32 reader from scratch and slowly making my way through a Peter Norton assembly tutorial from the 80s...

My day job, on the other hand is nearly all web dev and admin work.

Re: Bare Metal Assembly Raspberry Pi Starfox Tribute

#35
Oh wow. This is awesome.

And here I am sitting here, with little x86 asm and z80 asm knowledge, reversing windows binaries and messing with Pokémon arbitrary code execution exploits. (optimizing my payloads for the 8F/"ws m" exploit is fun though!)

Been meaning to learn ARM asm for some time, but haven't got around to it.

Re: Bare Metal Assembly Raspberry Pi Starfox Tribute

#36
post #13

Earlier quoted context omitted.

Thanks for the feedback! Even though the game does not need an operating system, it still requires bootcode.bin and start.elf. The fixed point version of Bresenham's algorithm looks really nice on x86, but it uses integer division, so implementing it on an ARMv6 (no div instruction) would be quite painful.

That reminds me of good old days of 6502 assembly and implementing bitshift based multiplication and division yourself.

Absolutely. I'm surprised that having to work around no 'div' is seen as painful compared to writing the rest of the game using 3D in assembly !

Learning on 6502/Z80 meant most everything was from first principles, and although I'd hate to regress so far today (head would hurt) it really was a great way to start.

Re: Bare Metal Assembly Raspberry Pi Starfox Tribute

#37
post #20
post #10

A welcome return to the Acorn/RISC OS days where "100% ARM assembler" was a back-of-the-box boast for many games and applications (Sibelius).

Not only Acorn/RISC OS, but all 8 and 16 bit home systems. The main issue is of course portability, but I had lots of fun with Assembly during that timeframe. Do you know how RISC OS fares in the Raspberry PI?

I haven't used it yet, but it seems to be faring okay.

http://riscpi.co.uk/sales-riscospi/?doing_wp_cron=1403977657...

You can also download RiscPC or Archimedes emulators, e.g.

http://www.marutan.net/rpcemu/

Post reply on HN