···23232424OBJ?= obj/
25252626-# either "flash" or "ram"
2727-LOC?= ram
2828-2626+LOC?=
2927.if ${LOC:L} == "flash"
3028BASE_ADDR= 0x4000
3129.elif ${LOC:L} == "ram"
+6-11
README.md
···991010### Features
11111212-- Support for controlling the internal modem through typed `AT` comments
1212+- Support for [WiFiStation](https://jcs.org/wifistation) (`SOURCE_WIFI`)
1313+- Support for controlling the internal modem through `AT` comments
1414+ (`SOURCE_MODEM`)
1315- Support for interfacing with the parallel port like a serial port with
1416[`tribble_getty`](https://github.com/jcs/mailstation-tools/blob/master/util/tribble_getty.c)
1517on the host side
···2527Install
2628[SDCC](http://sdcc.sourceforge.net/).
27292828-Create an `obj` directory with `mkdir obj` and then run `make`.
3030+Create an `obj` directory with `mkdir obj` and then run `make LOC=ram` to
3131+compile to run out of RAM (from Loader).
29323033Then transfer `obj/msterm.bin` to the MailStation with
3134[Loader](https://github.com/jcs/mailstation-tools)
3235which will put the application into `0x8000`.
33363434-### Flashing to `dataflash`
3535-3636-Edit `Makefile` to change the `--code-loc` argument to `sdcc` to expect to run
3737-from the `0x4000` area, as well as the `.org` line in `crt0.s`.
3838-3939-Load the compiled `obj/msterm.bin` to the `dataflash` with
4040-[dataflashloader.asm](https://github.com/jcs/mailstation-tools/blob/master/dataflashloader.asm).
4141-4237### License
43384444-Copyright (c) 2019-2020 [joshua stein](https://jcs.org/)
3939+Copyright (c) 2019-2021 [joshua stein](https://jcs.org/)
45404641Permission to use, copy, modify, and distribute this software for any
4742purpose with or without fee is hereby granted, provided that the above