184-186

From C64-Wiki
Jump to navigationJump to search

The three zeropage addresses in the range 184–186 ($B8–$BA in hexadecimal) are used as temporary storage for certain information needed when OPENing a logical file:

The SETLFS routine in KERNAL for setting up these parameters, simply "dumps" the values handed to it into addresses 184 thru 186. BASIC's OPEN command uses this routine, but machine code programmers are free to write the required information directly into these addresses instead of calling SETLFS.