CLOAD-ing recursively
Posted: Thu Nov 19, 2020 6:39 pm
Hi all!
This is bit odd and I'm not sure if it will be of any practical usage but because it's fun I decided to share.
So, recently I'm working on a new device for sending TAPs to Oric with high speed protocols and lot of extras (more detail will come soon) and for test purposes (and because no monitor is attached) I'm using simple program which after loaded makes a sound and calls CLOAD again. It works but I was puzzled when the transfer always failed after N successful runs...
The million-dollar question is: Can you guess the number N i.e after how many nested CLOADs the CPU stack is overflowed ?
You can write your own simple program or use the attached one - it has an surprise at the end .
Usage: unzip the attached TAP file, start Oricutron in Atmos mode, type CLOAD"", F1 to pop-up the menu and "Insert tape..."
I hope you like this programmer joke.
EDIT: attachment fixed.
This is bit odd and I'm not sure if it will be of any practical usage but because it's fun I decided to share.
So, recently I'm working on a new device for sending TAPs to Oric with high speed protocols and lot of extras (more detail will come soon) and for test purposes (and because no monitor is attached) I'm using simple program which after loaded makes a sound and calls CLOAD again. It works but I was puzzled when the transfer always failed after N successful runs...
The million-dollar question is: Can you guess the number N i.e after how many nested CLOADs the CPU stack is overflowed ?
You can write your own simple program or use the attached one - it has an surprise at the end .
Usage: unzip the attached TAP file, start Oricutron in Atmos mode, type CLOAD"", F1 to pop-up the menu and "Insert tape..."
I hope you like this programmer joke.
EDIT: attachment fixed.