Uploaded January 2023 | Updated September 2026, 7 hours ago
Today we will explore copper interrupts, and how to use a sine table in Amiga Bare Metal assembly.
There was a little bug in the video’s code, which I noticed rewatching the video.
The reason why that variable sineOffset didn’t work next to the other variables and caused the bar to behave erratic. Was because it was defined as a byte and should be a word. Moving that variable down, actually made it land in a clean piece of memory.
This bug isn’t present in my github version below.
github.com/rdoetjes/amiga-asm-lesson (copper_lesson3.S)
github.com/rdoetjes/sine_generator
Today we will explore copper interrupts, and how to use a sine table in Amiga Bare Metal assembly.
There was a little bug in the video’s code, which I noticed rewatching the video.
The reason why that variable sineOffset didn’t work next to the other variables and caused the bar to behave erratic. Was because it was defined as a byte and should be a word. Moving that variable down, actually made it land in a clean piece of memory.
This bug isn’t present in my github version below.
github.com/rdoetjes/amiga-asm-lesson (copper_lesson3.S)
github.com/rdoetjes/sine_generator







![CODING LIKE ITS 1989
We will be coding a Turbo On/Off switching tool for an old Compaq, based on Adrians Digital Basement episodes.
We will learn how to:
-load registers
-if then else statements (when arg is 0 then turbo off else, turbo on)
-read form memory
-write text to screen
-write to IO ports
The code we will create:
https://github.com/rdoetjes/turbo
The dosbox TASM development environment, to code along:
https://www.subliminal-artit.com/assets/dosbox.zip
THIS NEEDS TO GO IN YOUR DOSBOX CONFIG FILE
[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.
mount c ~/dosbox
PATH=C:TCBIN;C:TASMBIN
C:
CD X86CODE
Callous Coder idea by Raymond Doetjes CODING LIKE ITS 1989](https://i.ytimg.com/vi/trGgIdVOuLY/mqdefault.jpg)


