Skip to content

cleanup: KATANA in emulator C source is MAIKO in Lisp source #122

@nbriggs

Description

@nbriggs

When FX was developing the original emulator their machine type for medley running on the emulator was Katana (sword?). I don't know the history of why the emulator became Maiko (apprentice geisha?), but in the C source we find:

% grep -ri katana inc src include
inc/hdw_conf.h:#define KATANA		3
src/allocmds.c:                        This version works only for KATANA-SUN
src/dspsubrs.c: *			called from  \Katana.DisplayWidth.
src/dspsubrs.c: *			called from  \Katana.DisplayHeight.
src/initsout.c:  InterfacePage->machinetype = KATANA; /* 3 is katana */
src/storage.c:  if ((*MACHINETYPE_word & 0xffff) == KATANA) {
src/storage.c:    error("set_storage_state: Sorry! We can work on only KATANA");
src/subr0374.c:                subr----0130 for katana trace
src/vmemsave.c:  InterfacePage->machinetype = KATANA;

while in the Lisp code, references to machinetype

                              (COND ((EQ \MACHINETYPE \MAIKO)
                                     (MAKERECORD 'IFPAGE MAIKO.IFPAGELAYOUT))
                                    (T (MAKERECORD 'IFPAGE IFPAGELAYOUT)))

and

                          (* ; "Machine types")
                          (\MAIKO 3)
                          (\DOLPHIN 4)
                          (\DORADO 5)
                          (\DANDELION 6)
                          (\DAYBREAK 10Q)

If we clean this up, it should probably move to Maiko.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions