Annotation of frontvm/notes.txt, revision 1.1.1.1

1.1       root        1: 
                      2: outstanding introduced/emulation bugs:
                      3: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      4: 
                      5: frontier bug: intro uses space colour all the time even for
                      6: planetary scenes. perhaps this explains why frontier starts
                      7: with bright blue space, and on first hyperspace it is set
                      8: to a darker blue (revealing the milkway thingy).
                      9: 
                     10: search for 'XXX' to find comments on known breakage.
                     11: 
                     12: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     13: TODO
                     14: 
                     15: convert galaxy map routines to new line drawing funcs
                     16: 
                     17: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     18: 
                     19: a6_base = 0x5eb6
                     20: 
                     21: L877c (10438(a6)) == 0 => 4096 cols (512 switching)
                     22: 
                     23: L41d44
                     24: 
                     25: pal1 = 15876
                     26: pal2 = 15908
                     27: 
                     28: kbhandler:
                     29: 
                     30: A6_keystates_base = 16342
                     31: 
                     32: -2(a0) = 16340
                     33: -3(a0) = 16339
                     34: -4(a0) = 16338
                     35: -5(a0) = 16337
                     36: -6(a0) = 16336
                     37: -8(a0) = 16334
                     38: -10(a0) = 16332
                     39: 
                     40: (where lea A6_keystates_base(a6),a0):
                     41: 
                     42: on key release:
                     43: --------------------------------------------------
                     44: 0 -> -3(a0)
                     45: 0 -> -4(a0)
                     46: 0 -> -6(a0)
                     47: 
                     48: on key press (if byte -4(a0) != pressed scancode):
                     49: --------------------------------------------------
                     50: -5(a0) -> -8(a0)
                     51: -2(a0) -> -10(a0)
                     52: -1(a0) -> -9(a0)
                     53: 0 -> -2(a0)
                     54: pressed code -> -3(a0)
                     55: pressed code -> -4(a0)
                     56: pressed code -> -6(a0)
                     57: 
                     58: on key press (if byte -4(a0) == pressed scancode):
                     59: --------------------------------------------------
                     60: 0 -> -3(a0)
                     61: 0 -> -4(a0)
                     62: 0 -> -6(a0)
                     63: 
                     64: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     65: 
                     66: on calling FmtStr:
                     67:        d0 = 0x941a     <- some kind of index to a string table. 40(modtable)
                     68:                           obtains the filthy string thing. oh god.
                     69:        d4 = 0xf        <- colour
                     70:        d5 = 0x28       <- x
                     71:        d6 = 0x14       <- y
                     72:        d7 = 0x0        <- ??
                     73: 
                     74: d0:
                     75:        0x3015  "%08x" hex (in d3)
                     76:        0x3014  "%08x" hex (in d2)
                     77:        0x3013  "%08x" hex (in d1)
                     78:        0x3012  HH:MM:SS (in d3)
                     79:        0x3011  HH:MM:SS (in d2)
                     80:        0x3010  HH:MM:SS (in d1)
                     81:        0x300f  dd-mon-year (day of year in d3)
                     82:        0x300e  dd-mon-year (in d2)
                     83:        0x300d  dd-mon-year (in d1)
                     84:        0x300c  int32 3 dec places (in d3)
                     85:        0x300b  int32 3 dec places (in d2)
                     86:        0x300a  int32 3 dec places (in d1)
                     87:        0x3009  int32 2 dec places (in d3)
                     88:        0x3008  int32 2 dec places (in d2)
                     89:        0x3007  int32 2 dec places (in d1)
                     90:        0x3006  int32 1 dec place (in d3)
                     91:        0x3005  int32 1 dec place (in d2)
                     92:        0x3004  int32 1 dec place (in d1)
                     93:        0x3003  int32 (in d3)
                     94:        0x3002  int32 (in d2)
                     95:        0x3001  int32 (in d1)
                     96:        0x3000  erm, like, do last thing printed.
                     97: 
                     98: SFX indices:
                     99: ~~~~~~~~~~~~~
                    100: 
                    101:        0       ui_beep
                    102:        1       laser0
                    103:        2       laser1
                    104:        3       laser2
                    105:        4       launch_granted
                    106:        5       station_door_open
                    107:        6       explode1
                    108:        7       ??
                    109:        8       explode2
                    110:        9       explode3
                    111:        10      explode4
                    112:        11      explode5
                    113:        12      explode6
                    114:        13      explode7
                    115:        14      explode8
                    116:        15      explode9
                    117:        16      explode10
                    118:        17      laser_burn
                    119:        18      ??
                    120:        19      hyperspace (loop)
                    121:        20      hyperspace_end
                    122:        21      send_message
                    123:        22      fire_missile
                    124:        23      noise (loop)
                    125:        24      ECM
                    126:        25      warning!
                    127:        26      retract wheels (?)
                    128:        27      <silence?>
                    129:        28      select object
                    130:        29      bing
                    131:        30      big bing!
                    132:        31      launch_noise
                    133:        32      dildo
                    134: 
                    135: modfuncs:
                    136: ~~~~~~~~~
                    137: 4(a4) - init
                    138: 20(a4) - every turn in 3d view
                    139: 40(a4) - get string
                    140: 
                    141: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.