File: soft80.s

package info (click to toggle)
cc65 2.19-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 20,268 kB
  • sloc: ansic: 117,151; asm: 66,339; pascal: 4,248; makefile: 1,009; perl: 607
file content (71 lines) | stat: -rw-r--r-- 2,519 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
;
; Groepaz/Hitmen, 12.10.2015
;
; import/overload stubs for the soft80 implementation

        .include "../soft80.inc"

        ; soft80_cgetc.s
        .import soft80_cgetc
        .export _cgetc := soft80_cgetc                  ; cgetc.s

        ; soft80_color.s
        .import soft80_textcolor
        .import soft80_bgcolor
        .export _textcolor := soft80_textcolor          ; color.s
        .export _bgcolor := soft80_bgcolor              ; color.s

        ; soft80_cpeekc.s
        .import soft80_cpeekc
        .export _cpeekc := soft80_cpeekc                ; cpeekc.s

        ; soft80_cpeekcolor.s
        .import soft80_cpeekcolor
        .export _cpeekcolor := soft80_cpeekcolor        ; cpeekcolor.s

        ; soft80_cpeekrevers.s
        .import soft80_cpeekrevers
        .export _cpeekrevers := soft80_cpeekrevers      ; cpeekrevers.s

        ; soft80_cpeeks.s
        .import soft80_cpeeks
        .export _cpeeks := soft80_cpeeks                ; cpeeks.s

        ; soft80_cputc.s
        .import soft80_cputc
        .import soft80_cputcxy
        .import soft80_cputdirect
        .import soft80_putchar
        .import soft80_newline
        .import soft80_plot
        .export _cputc := soft80_cputc                  ; cputc.s
        .export _cputcxy := soft80_cputcxy              ; cputc.s
        .export cputdirect := soft80_cputdirect         ; cputc.s
        .export putchar := soft80_putchar               ; cputc.s
        .export newline := soft80_newline               ; cputc.s
        .export plot := soft80_plot                     ; cputc.s

        ; soft80_kclrscr.s
        .import soft80_kclrscr
        .export _clrscr := soft80_kclrscr               ; clrscr.s

        ; soft80_kplot.s
        .import soft80_kplot
        .export PLOT := soft80_kplot                    ; kplot.s

        ; soft80_kscreen.s
        .import soft80_screensize
        .export screensize := soft80_screensize         ; _scrsize.s
        ; FIXME: use _scrsize.s/remove soft80_scrsize.s
        ;.export SCREEN := soft80_screensize             ; kernal func (kernal.s)

        ; VIC sprite data for the mouse pointer
        .export         mcb_spritememory  := soft80_spriteblock
        .export         mcb_spritepointer := (soft80_vram + $03F8)

        ; Chars used by chline () and cvline ()
        .exportzp       chlinechar = CH_HLINE
        .exportzp       cvlinechar = CH_VLINE

        .import         return1
        .export         _doesclrscrafterexit := return1