MG's utilities for the davex shell for Apple II ProDOS.
Go to file
2018-06-11 22:37:16 -07:00
poc create proof-of-concept diretory and add afp.cvtime.s 2017-11-04 00:00:13 -07:00
utils initial 2017-09-15 09:55:29 -07:00
.gitignore remove boot.dsk symlink, update .gitignore 2017-09-15 10:15:24 -07:00
afp.sessions.s fix bug in afp.sessions.s 2018-05-07 12:40:57 -07:00
afp.timezone.s update davex-mg.inc to include some other davex includes and fix ensuing minor issues 2018-05-07 15:23:29 -07:00
afp.userprefix.s initial 2017-09-15 09:55:29 -07:00
alias.s initial 2017-09-15 09:55:29 -07:00
at.boot.s initial 2017-09-15 09:55:29 -07:00
at.info.s initial 2017-09-15 09:55:29 -07:00
at.zones.s at.zones: fix help 2017-09-26 19:39:27 -07:00
davex-mg.inc update davex-mg.inc to include some other davex includes and fix ensuing minor issues 2018-05-07 15:23:29 -07:00
deschw.s deschw: display Apple IIc Plus hidden slot 6 SmartPort info 2018-06-11 22:36:41 -07:00
diskinfo.s diskinfo: updates 2018-06-11 22:37:16 -07:00
dmem.s initial 2017-09-15 09:55:29 -07:00
fastchip.s update davex-mg.inc to include some other davex includes and fix ensuing minor issues 2018-05-07 15:23:29 -07:00
idemu.s initial 2017-09-15 09:55:29 -07:00
iie.card.s update davex-mg.inc to include some other davex includes and fix ensuing minor issues 2018-05-07 15:23:29 -07:00
Makefile update davex-mg.inc to include some other davex includes and fix ensuing minor issues 2018-05-07 15:23:29 -07:00
mig.insp.s iie.card: better speed setter routine; mig.insp: enable ROM ID 2017-09-26 19:13:40 -07:00
nbp.lookup.s update davex-mg.inc to include some other davex includes and fix ensuing minor issues 2018-05-07 15:23:29 -07:00
nbp.parse.s update davex-mg.inc to include some other davex includes and fix ensuing minor issues 2018-05-07 15:23:29 -07:00
README.md Add setyear to patch ProDOS year table in-memory 2017-11-02 20:32:25 -07:00
setyear.s update davex-mg.inc to include some other davex includes and fix ensuing minor issues 2018-05-07 15:23:29 -07:00
tardis.s update davex-mg.inc to include some other davex includes and fix ensuing minor issues 2018-05-07 15:23:29 -07:00

MG's DaveX Utilities

This is a collection utilities for davex, mostly centered around AppleTalk, but also a few others including fixed or enhanced versions of a few existing davex.

Utilities

See the source or generated help files for each utility, for further information/options/etc.

AppleTalk

afp.sessions

Displays AFP sessions.

afp.userprefix

Print or set the AFP user prefix.

at.boot

Boots over Appletalk.

at.info

Display some AppleTalk info

at.zones

Display AppleTalk zone information.

nbp.lookup

Look up NBP names registered on the network.

nbp.parse

Parse an NBP name and display the parts. Mainly used for testing the parsing routine.

tardis

Get time from TimeLord server.

Fixed/Enhanced

alias

This is a fixed version of the alias command included in davex 1.30p.

deschw

This has been enhanced to identify the CPU and to detect emulation. If an emulator supporting EMUBYTE is found, displays its name and version if known.

See idemu for more comprehensive emulator detection.

There are also a few other enhancements around SmartPort device info.

Misc

dmem

Displays info on davex "dynamic memory." Mainly for testing purposes.

fastchip (beta)

Controls the A2Heaven FastChip //e.

idemu

Identifies emulators. If a positive ID on EMUBYTE can be used, uses it. Otherwise, attempts to use the various emulators' idiosynchracies regarding emulator ROM and I/O space to make the identification. It does not interact with any slot hardware.

iie.card

Display or change the speed of the 65C02 on the Apple //e Card for Macintosh LC.

Optionally, use undocumented features to display the user-selected startup slot.

mig.insp

View the contents of the Apple IIc Plus MIG RAM.

setyear

Patches the ProDOS ThunderClock driver year table in-memory.

Building

Building the utilities requires a Unix-like environment with GNU Make and the usual set of Unix utilities such as sed, awk, egrep, etc.

A working installtion of cc65 must be present and in the PATH (for ca65, ld65, od65).

The davex source code (link at top) must be present somewhere, and the DAVEX variable in the Makefile should point to it.

In order to build the default target (a ShrinkIt file), nulib2 must be present and in the PATH.

In order to build a disk image, you must have AppleCommander CLI version set up and must modify the Makefile.

The utilities are developed on macOS X.

Interesting make targets

  • all: build shrinkit file DAVEX.MG.SHK
  • disk: build davex.mg.po
  • emulate: builds disk and attempts to open with Virtual ][. Set BOOTDSK in Makefile first.

Developing

Fork it, send pull requests, etc.

I created a custom set of macros and tools for doing davex external commands. These are in davex-mg.inc and in the utils directory.

In particular, the macros along with utils/auto_origin.sh allow automatically meeting the davex external command loading recommendations, which are "load on a page boundary so that the end of the file loads between $AF00 and $AFFF."

Additionaly, utils/gen_help.sh is used to extract the help file contents from the source code of each utility.