- Function
Write one word to a location in the system bank.
- Header
- Declaration
void __fastcall__ pokewsys (unsigned addr, unsigned val);
- Description
pokewsys
writes one word to the given address in the system bank (bank 15) of the CBM PET-II machines. Following the usual 6502 conventions, the low byte ofval
is written toaddr
, and the high byte is written toaddr+1
.- Limits
- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- The order in which the two bytes are written is undefined.
- Availability
cc65
- See also
- Example
None.