fujinet-firmware icon indicating copy to clipboard operation
fujinet-firmware copied to clipboard

Refactor MODEM code

Open tschak909 opened this issue 4 years ago • 2 comments
trafficstars

The current WiFi MODEM code lives monolithically inside sio/modem.cpp.

This should be re-factored outward into its own library under lib/ so it can be used by other peripheral buses (and by CP/M)

The idea here is to:

  • Seperate out the core modem code
  • Call an initialization function with a pointer to the desired UART.
  • Replace explicit calls to fnUARTSIO to use this pointer.
  • Make lib/sio/modem.cpp use the now factored library.

tschak909 avatar Feb 09 '21 17:02 tschak909

Is this simply a "move and create an interface" job?

brad-colbert avatar Apr 15 '21 23:04 brad-colbert

yeah.

tschak909 avatar Apr 16 '21 00:04 tschak909