This commit is contained in:
Anatoliy Belyanskiy 2023-10-27 01:50:44 +10:00
parent 8b1e277463
commit f195bf9fbc

View File

@ -1,6 +1,7 @@
;[‚ë§®¢ ä㭪権 DSS]--------------------
ToDSS EQU #10
.DRV EQU #18
.Mouse EQU #30
;---------------------------------------
;---[<EFBFBD>ãä¥à ¯®¤ á«ã¦¥¡­ãî áâபã DSS]----
@ -151,10 +152,10 @@ Dss:
;
; Video
.SetVMod EQU #50
.SetVMod.txt40x32 EQU 2
.SetVMod.txt80x32 EQU 3
.SetVMod.grf320x256 EQU #81
.SetVMod.grf6400x256 EQU #82
.SetVMod.txt40x32 EQU 2 ; ⥪áâ®¢ë© 40x32x16 梥⮢
.SetVMod.txt80x32 EQU 3 ; ⥪áâ®¢ë© 80x32x16 梥⮢
.SetVMod.grf320x256 EQU #81 ; £à ä¨ç¥áª¨© 320x256x256 梥⮢
.SetVMod.grf640x256 EQU #82 ; £à ä¨ç¥áª¨© 640x256x16 梥⮢
.GetVMod EQU #51
.Locate EQU #52
.Cursor EQU #53
@ -172,7 +173,9 @@ Dss:
.RES_PRN EQU #5D
.CTRLPRN EQU #5E
.Print EQU #5F
;---------------------------------------
;----------------------------------------------------------------------;
;----------------------------------------------------------------------;
.DRV.Init EQU #00
.DRV.Open EQU #01
.DRV.Close EQU #02
@ -194,20 +197,30 @@ Dss:
.DRV.LongWrite EQU #11
;
.DRV.RescanDRV EQU #FF
;---------------------------------------
;
;------------[Video modes]--------------
DssVmod:
.txt40 EQU #02 ; (02) - 筵ェ矮ョ「<EFBDAE> 40x32x16 譴・箘「
.txt80 EQU #03 ; (03) - 筵ェ矮ョ「<EFBDAE> 80x32x16 譴・箘「
.gfx320 EQU #81 ; (129) - 」燿茯逾皙ィゥ 320x256x256 譴・箘「
.gfx640 EQU #82 ; (130) - 」燿茯逾皙ィゥ 640x256x16 譴・箘「
;---------------------------------------
;
;----------------------------------------------------------------------;
;----------------------------------------------------------------------;
.Mouse.Init EQU #00
.Mouse.ShowCursor EQU #01
.Mouse.HideCursor EQU #02
.Mouse.ReadState EQU #03
.Mouse.SetXY EQU #04
;.Mouse.RESERVED EQU #05
;.Mouse.RESERVED EQU #06
.Mouse.SetBoundsY EQU #07
.Mouse.SetBoundsX EQU #08
.Mouse.SetCursorImage EQU #09
.Mouse.SetCursorChar EQU #0A
.Mouse.GetCursorImage EQU #0B
;.Mouse.RESERVED EQU #0C
;.Mouse.RESERVED EQU #0D
.Mouse.GetSensitive EQU #0E
.Mouse.SetSensitive EQU #0F
.Mouse.GetPackets EQU #80
.Mouse.SetVideoMode EQU #81
;.Mouse.RESERVED EQU #82
.Mouse.RefreshCursor EQU #83
;----------------------------------------------------------------------;
;
;------------[Error codes]--------------
@ -361,51 +374,51 @@ _cc:
; <EFBFBD>ਫ®¦¥­¨¥ <EFBFBD>. ’ ¡«¨æ  ¯®§¨æ¨®­­ëå ª®¤®¢
; key ASCII/SCAN key ASCII/SCAN
; ` 000h 000h V 056h 02Dh
; Esc 01Bh 001h B 042h 02Eh
; 1 031h 002h N 04Eh 02Fh
; 2 032h 003h M 04Dh 030h
; 3 033h 004h , 02Ch 031h
; 4 034h 005h . 02Eh 032h
; 5 035h 006h / 02Fh 033h
; 6 036h 007h RShift ---- 034h
; 7 037h 008h \ 05Ch 035h
; 8 038h 009h LCtrl ---- 036h
; 9 039h 00Ah LAlt ---- 037h
; 0 030h 00Bh Space 020h 038h
; - 02Dh 00Ch RAlt ---- 039h
; = 03Dh 00Dh RCtrl ---- 03Ah
; BackSpace 008h 00Eh F1 000h 03Bh
; Tab 009h 00Fh F2 000h 03Ch
; Q 051h 010h F3 000h 03Dh
; W 057h 011h F4 000h 03Eh
; E 045h 012h F5 000h 03Fh
; R 052h 013h F6 000h 040h
; T 054h 014h F7 000h 041h
; Y 059h 015h F8 000h 042h
; U 055h 016h F9 000h 043h
; I 049h 017h F10 000h 044h
; O 04Fh 018h F11 000h 045h
; P 050h 019h F12 000h 046h
; [ 05Bh 01Ah PrScrn ---- 047h
; ] 05Dh 01Bh ScrlLock 000h 048h
; CapsLock 000h 01Ch NumLock 000h 049h
; A 041h 01Dh / 02Fh 04Ah
; S 053h 01Eh * 02Ah 04Bh
; D 044h 01Fh - 02Dh 04Ch
; F 046h 020h + 02Bh 04Dh
; G 047h 021h enter 00Dh 04Eh
; H 048h 022h Del . 000h 04Fh
; J 04Ah 023h Ins 0 000h 050h
; K 04Bh 024h End 1 000h 051h
; L 04Ch 025h Down 2 000h 052h
; ; 03Bh 026h PgDw 3 000h 053h
; ' 027h 027h Left 4 000h 054h
; Enter 00Dh 028h 5 000h 055h
; LShift ---- 029h Right 6 000h 056h
; Z 05Ah 02Ah Home 7 000h 057h
; X 058h 02Bh Up 8 000h 058h
; C 043h 02Ch PgUp 9 000h 059h
; ` #00 #00 V #56 #2D
; Esc #1B #01 B #42 #2E
; 1 #31 #02 N #4E #2F
; 2 #32 #03 M #4D #30
; 3 #33 #04 , #2C #31
; 4 #34 #05 . #2E #32
; 5 #35 #06 / #2F #33
; 6 #36 #07 RShift --- #34
; 7 #37 #08 \ #5C #35
; 8 #38 #09 LCtrl --- #36
; 9 #39 #0A LAlt --- #37
; 0 #30 #0B Space #20 #38
; - #2D #0C RAlt --- #39
; = #3D #0D RCtrl --- #3A
; BackSpace #08 #0E F1 #00 #3B
; Tab #09 #0F F2 #00 #3C
; Q #51 #10 F3 #00 #3D
; W #57 #11 F4 #00 #3E
; E #45 #12 F5 #00 #3F
; R #52 #13 F6 #00 #40
; T #54 #14 F7 #00 #41
; Y #59 #15 F8 #00 #42
; U #55 #16 F9 #00 #43
; I #49 #17 F10 #00 #44
; O #4F #18 F11 #00 #45
; P #50 #19 F12 #00 #46
; [ #5B #1A PrScrn --- #47
; ] #5D #1B ScrlLock #00 #48
; CapsLock #00 #1C NumLock #00 #49
; A #41 #1D / #2F #4A
; S #53 #1E * #2A #4B
; D #44 #1F - #2D #4C
; F #46 #20 + #2B #4D
; G #47 #21 enter #0D #4E
; H #48 #22 Del . #00 #4F
; J #4A #23 Ins 0 #00 #50
; K #4B #24 End 1 #00 #51
; L #4C #25 Down 2 #00 #52
; ; #3B #26 PgDw 3 #00 #53
; ' #27 #27 Left 4 #00 #54
; Enter #0D #28 5 #00 #55
; LShift --- #29 Right 6 #00 #56
; Z #5A #2A Home 7 #00 #57
; X #58 #2B Up 8 #00 #58
; C #43 #2C PgUp 9 #00 #59
; <EFBFBD>ਫ®¦¥­¨¥ . <EFBFBD> ©â  âਡã⮢ ⥪á⮢®£® íªà ­