⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vlir1.s

📁 cc65 的编译器文档
💻 S
字号:
; Maciej 'YTM/Elysium' Witkowiak; 06.06.2002; This is source for loadable VLIR-structured program part    ; include some GEOS defines	    .include "../../../libsrc/geos/inc/const.inc"	    .include "../../../libsrc/geos/inc/jumptab.inc"	    .include "../../../libsrc/geos/inc/geossym.inc"	    .include "../../../libsrc/geos/inc/geosmac.ca65.inc"    ; export names of functions that will be used in main program	    .export VLIR1_Function1	    .export VLIR1_Function2    ; go into VLIR1 segment - everything that is here will go into    ; VLIR chain #1		.segment "VLIR1"VLIR1_Function1:		jmp Function1	; jump table, not really necessaryVLIR1_Function2:		jmp Function2		; etc.    ; rodata - if this is defined in .segment "RODATA"    ; it will end in VLIR0 part, you don't want thatparamString:		.byte DEF_DB_POS | 1		.byte DBTXTSTR, TXT_LN_X, TXT_LN_2_Y		.word line1		.byte DBTXTSTR, TXT_LN_X, TXT_LN_3_Y		.word line2		.byte OK, DBI_X_0, DBI_Y_2		.byte NULLline1:		.byte "This is in module 1",0line2:		.byte "This is in module 1",0    ; codeFunction1:	LoadW r0, paramString		jsr DoDlgBoxFunction2:	rts

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -