commanderx16 / x16-emulator

Emulator for the Commander X16 8-bit computer
384 stars 60 forks source link

Porting PetDraw to the X16emu #208

Closed bobbyjim closed 4 years ago

bobbyjim commented 4 years ago

I'd like to try this, but tell me if this is the right direction.

Emulator work to expand filesystem access.

  1. Intercept KERNAL calls to OPEN, CLOSE, CHRIN, GETIN, CHROUT, CLRCHN, and CLALL.
  2. Fetch and use the data set by SETLFS and SETNM, CHKIN and CHKOUT... wherever those are. (I know it's possible to use the monitor to load and save, but I'd really like SEQ file access in BASIC, so...)

Porting work.

  1. Adjust screen RAM location.
  2. Adjust color RAM location.
  3. Adjust logic for changing text/background/border color (I know the X16 is ... different).

Thoughts? Too ambitious? Maybe I should just focus on getting I/O working for the local filesystem?

FreeFull commented 4 years ago

See https://github.com/commanderx16/x16-demo/tree/master/petdrawx16

bobbyjim commented 4 years ago

See https://github.com/commanderx16/x16-demo/tree/master/petdrawx16

LOL! Thanks for that.