[Coco] USRx() and adding more parameters?
Allen Huffman
alsplace at pobox.com
Tue Nov 4 22:14:41 EST 2025
The BASIC ROM has the USR function:
DEF USR0=&H3F00
A=USR0(42)
It accepts one parameter.
Since it jumps from BASIC into the USR assembly, couldn’t that code just parse a “,” and more numbers, allowing it to accept whatever needed to be passed in?
A=USR0(1,2,3,4)
--
Allen Huffman - PO Box 7634 - Urbandale IA 50323 - 515-999-0227 (vmail/TXT only)
http://www.subethasoftware.com - https://www.facebook.com/subethasoftware
More information about the Coco
mailing list