|
You are here |
www.retroprogramming.com | ||
| | | | |
techtinkering.com
|
|
| | | | | The Commodore VIC-20 is a great machine to learn an assembly language on. It was released in 1981 and was the first computer to sell one million units, which co | |
| | | | |
jborza.com
|
|
| | | | | Closer to the machine I started my way with programming with Microsoft QBASIC on DOS, I did try (and succeed) to copy code for a game from a BASIC book, and it did run, but I didnt really get development back then. I didnt really understand how and why it works, and most importantly, how to write my own code to implement a different game. Later I was playing higher level languages such as Pascal and C in the high school and PHP at home. | |
| | | | |
coredumped.dev
|
|
| | | | | In this post, we are going to take a deep dive into pointer tagging, where metadata is encoded into a word-sized pointer. Doing so allows us to keep a compact representation that can be passed around in machine registers. This is very common in implementing dynamic programming languages, but can really be used anywhere that additional runtime information is needed about a pointer. We will look at a handful of different ways these pointers can be encoded and see how the compiler can optimize them for diff... | |
| | | | |
jborza.com
|
|
| | | CHIP-8 is one of the most popular target architectures for aspiring emulator writers. I'm planning to implement it in hardware, so I thought that writing a software emulator/interpreter would be enlightening. I was also looking for some practice before implementing CHIP-8 in hardware in Verilog :) CHIP-8 Virtual machine description: 64x32 pixel monochrome display 4K of 8-bit RAM 16 8-bit "variable" registers V0-VF I 16-bit address register Stack of 16-bit addresses for call/return 16-bit PC - program counter 8-bit delay timer (decremented at 60 Hz) until it reaches 0 8-bit sound timer (decremented at 60 Hz), beeps when it reaches 0 16- key keypad that sends scan codes 0x1-0xF Instruction set See https://en. | ||