| 1 |
;ACME 0.94.4 |
| 2 |
|
| 3 |
; Vermerk: |
| 4 |
!text "MacEdit was written by Mac Bacon in 1994-97." |
| 5 |
!text " This is Freeware !" |
| 6 |
|
| 7 |
; Variablen: |
| 8 |
stck !byte 0 ; Stackbuffer |
| 9 |
nmibuf !word 0 ; NMI-Buffer |
| 10 |
idtext !text "MacEdV0" ; RAM-Kennung |
| 11 |
scratch !byte "s" ; DOS-String |
| 12 |
dospre !text "0:" |
| 13 |
dosname !text "-Anleitung .txt,p," ; Default |
| 14 |
dosmode !text "r" |
| 15 |
filepara !byte 22, lf, lf, 8 |
| 16 |
!word dospre |
| 17 |
killpara !byte 19, 15, 15, 8 |
| 18 |
!word scratch |
| 19 |
idfile !text "FormatVersion1.0" |
| 20 |
; Farben: |
| 21 |
; 2rufRGBI-Format |
| 22 |
clrcrsr !byte %##.##..# ; Cursor |
| 23 |
clrback !byte %........ ; Screen (xxxxRGBI-Format) |
| 24 |
clraktv !byte %#...###. ; Aktive Flags |
| 25 |
clrinak !byte %#......# ; Inaktive |
| 26 |
clrmenu !byte %##..##.# ; Menu |
| 27 |
clrmenu1 !byte %#...#### ; aktives Menu |
| 28 |
clraktl !byte %##..#### ; Menupunkt |
| 29 |
clrboxs !byte %#....### ; Menuboxen |
| 30 |
!byte %#....#.# ; Dialogboxen |
| 31 |
!byte %#..##..# ; Warnungen |
| 32 |
; Vars |
| 33 |
bank !byte 0 ; Bankbuffer |
| 34 |
memin !word 0 ; Startaddy Vektoren |
| 35 |
txts !word 0 ; Startaddy Text |
| 36 |
unnamed !byte TRUE ; ist Text benannt ? |
| 37 |
changes !byte FALSE ; Sind Changes saved ? |
| 38 |
nwfrm !byte FALSE ; neues Bild ? |
| 39 |
blockflag !byte FALSE ; Block definiert ? |
| 40 |
wrapflag !byte TRUE ; PARWing ? |
| 41 |
esca !byte TRUE ; AutoInsert ? |
| 42 |
updatewbi !byte FALSE ; Flag-Redraw nötig ? |
| 43 |
repeatedtry !byte FALSE ; Schon früher gestartet ? |
| 44 |
loadflag !byte 0 ; 0 = LOAD (/MERGE) |
| 45 |
txtname !text "unbenannt .txt" |
| 46 |
mrgname !text "merge .txt" |
| 47 |
newname !text "unbenannt .txt" |
| 48 |
lodname !text "unbenannt .txt" |
| 49 |
xindex !byte 0 ; Index-Puffer |
| 50 |
; Folgende Vars werden per x indiziert |
| 51 |
SCR = 0 ; x-Wert |
| 52 |
scrx !byte 0 ; Display |
| 53 |
scry !word 0 |
| 54 |
ANF = 3 ; x-Wert |
| 55 |
anfx !byte 0 ; Blockstart |
| 56 |
anfy !word 0 |
| 57 |
END = 6 ; x-Wert |
| 58 |
endx !byte 0 ; Ende |
| 59 |
endy !word 0 |
| 60 |
POS = 9 ; x-Wert |
| 61 |
posx !byte 0 ; Cursor |
| 62 |
posy !word 0 |
| 63 |
TMP = 12 ; x-Wert |
| 64 |
tmpx !byte 0 ; temp |
| 65 |
tmpy !word 0 |
| 66 |
ZZA = 15 ; x-Wert |
| 67 |
llen !byte preflen ; Zeilenlaenge |
| 68 |
zzan !word 0 ; vorhandene Zeilen |
| 69 |
ZZB = 18 ; x-Wert |
| 70 |
byte !byte 0 ; akt. Zeichen |
| 71 |
zzbe !word 0 ; benutzte Zeilen |
| 72 |
WRP = 21 ; x-Wert |
| 73 |
wrpx !byte 0 ; Wrap |
| 74 |
wrpy !word 0 |
| 75 |
PRW = 24 ; x-Wert |
| 76 |
prwx !byte 0 ; Parw |
| 77 |
prwy !word 0 |
| 78 |
|
| 79 |
; Tabs: |
| 80 |
etab ; ESC-Jumps |
| 81 |
!word ESC_at, ESC_a, ESC_b, ESC_c |
| 82 |
!word ESC_d, 0, 0, ESC_g |
| 83 |
!word ESC_h, ESC_i, ESC_j, ESC_k |
| 84 |
!word 0, 0, 0, ESC_o |
| 85 |
!word ESC_p, ESC_q, 0, 0 |
| 86 |
!word ESC_t, 0, 0, 0 |
| 87 |
!word 0, 0, 0, 0 |
| 88 |
!word 0, 0, 0, 0 |
| 89 |
ctab ; Command-Jumps 1. Achtel |
| 90 |
!word 0, 0, F_un, F_menu |
| 91 |
!word 0, F_c, 0, F_bell |
| 92 |
!word 0, F_tab, F_lfeed, 0 |
| 93 |
!word F_ffeed, F_cr, F_text, F_fn |
| 94 |
!word 0, F_gcd, F_rn, F_home |
| 95 |
!word F_dcl, F_sf, F_sk, F_su |
| 96 |
!word F_st, F_sw, F_sl, F_esc |
| 97 |
!word F_c, F_gcr, F_c, F_c |
| 98 |
; 5. Achtel |
| 99 |
!word F_dir, F_c, F_uf, F_fbox |
| 100 |
!word F_hlp, F_f, F_f, F_f |
| 101 |
!word F_f, F_f, F_f, F_f |
| 102 |
!word F_f, F_cs, F_graphic, F_ff |
| 103 |
!word F_c, F_gcu, F_rf, F_gsot |
| 104 |
!word F_insert, F_c, F_c, F_c |
| 105 |
!word F_c, F_c, F_c, F_c |
| 106 |
!word F_c, F_gcl, F_c, F_c |
| 107 |
; 8. Achtel |
| 108 |
!word F_bttnf, F_gosys, 0, 0 |
| 109 |
!word F_info, F_f, F_f, F_f |
| 110 |
!word F_f, F_f, F_f, F_f |
| 111 |
!word F_f, 0, F_geol, F_print |
| 112 |
!word F_glu, F_gau, F_scrnu, F_geot |
| 113 |
!word F_dword, F_save, F_saveas, F_rnmtxt |
| 114 |
!word F_gtl, F_fmtl, F_fmtr, F_fmtm |
| 115 |
!word F_fmtb, F_gwl, F_gpu, 0 |
| 116 |
; 4. Achtel |
| 117 |
!word F_bttnn, F_goout, 0, 0 |
| 118 |
!word F_mode, 0, 0, 0 |
| 119 |
!word 0, 0, 0, 0 |
| 120 |
!word 0, 0, F_gsol, F_new |
| 121 |
!word F_gld, F_gad, F_scrnd, F_ahome |
| 122 |
!word F_dcr, F_loadas, F_mergeas, F_find |
| 123 |
!word F_gtr, F_cut, F_copy, F_paste |
| 124 |
!word F_move, F_gwr, F_gpd, F_middle |