]> git.sur5r.net Git - cc65/blob - testcode/grc/test.grc
info about c1541 in docs, lowered highest available address to $6000 due to
[cc65] / testcode / grc / test.grc
1
2 ;This is proposed syntax of general GEOS resource file for upcoming resource compiler.
3
4 ;(token MENU, topname (will be escaped with _), x,y of top-left corner, bottom-right will be
5 ; counted according to BSW font table (in x) and a multiply 15 (14?) in y)
6 ;Note that MENU is either MENU and SUBMENU
7 ;Note that if you want to use any C operators (like '|', '&' etc.) do it WITHOUT spaces
8 ;between arguments (parser is simple and weak)
9
10
11 ; format: MENU "name" left,top ALIGN { "itemname" TYPE pointer ... }
12
13 MENU mainMenu 0,0 HORIZONTAL
14 {
15     "sub menu1" SUB_MENU subMenu1                       ; goes for _subMenu1
16     "quit"     MENU_ACTION EnterDeskTop                 ; goes for _EnterDeskTop
17 }
18
19 MENU subMenu1 15,0 VERTICAL
20 {
21     "subitem1" MENU_ACTION smenu1
22     "mubitem2" MENU_ACTION|DYN_SUB_MENU smenu2
23     "subitem3" MENU_ACTION smenu3
24 }
25
26 ; format: HEADER GEOS_TYPE "dosname" "classname" "version"
27
28 HEADER APPLICATION "123456789 1234567" "Class Name" "V1.0.0"
29 {
30     ; not all fields are required, default and current values will be used
31     author "Maciej Witkowiak"                   ; always in quotes!
32     info "Information text"             ; always in quotes!
33 ;    date yy mm dd hh ss                        ; always 5 fields!
34 ;    dostype seq                                ; can be PRG, SEQ, USR
35     mode c64only                                ; can be any, 40only, 80only, c64only
36 }