Task
Execute a system command and get its output into the program. The output may be stored in any kind of collection (array, list, etc.).




Related task
  Execute a system command


JSR $FFED
;returns screen width in X and screen height in Y
dex     ;subtract 1. This is more useful for comparisons.
dey     ;subtract 1. This is more useful for comparisons.
stx $20 ;store in zero page ram
sty $21 ;store in zero page ram