Compare commits

...

39 Commits

Author SHA1 Message Date
Bobbi Webber-Manners fb180a625c
Merge pull request #280 from jgharston/main
Updated and sorted sample programs
2023-01-22 16:43:32 -05:00
jgharston 6b6c5ec95a
Delete TINY65#000000 2023-01-22 21:40:19 +00:00
jgharston 2b257d95c5
Delete Shawty1.po 2023-01-22 21:39:59 +00:00
jgharston 189d6ff9e1
Delete SNOWFLAKES#060e00 2023-01-22 21:39:48 +00:00
jgharston 72f6b794c5
Delete Pixels 2023-01-22 21:39:41 +00:00
jgharston 807c1db74b
Delete MODEs 2023-01-22 21:39:33 +00:00
jgharston d923d07cce
Delete KBDTest 2023-01-22 21:39:26 +00:00
jgharston 68c6293e38
Delete JGHMusic2.po 2023-01-22 21:39:18 +00:00
jgharston 01fbd66c79
Delete JGHMusic1.po 2023-01-22 21:39:08 +00:00
jgharston bfc5ac7e71
Delete Environ 2023-01-22 21:39:01 +00:00
jgharston ca507c3ae0
Delete Creative_Graphics.po 2023-01-22 21:38:55 +00:00
jgharston 056bf98715
Delete Colours 2023-01-22 21:38:48 +00:00
jgharston 88425758b5
Delete x 2023-01-22 21:38:28 +00:00
jgharston 919da45100
Delete x 2023-01-22 21:38:15 +00:00
jgharston eb03fac973
Delete x 2023-01-22 21:37:56 +00:00
jgharston 699c6ed83a
Delete KBDDemo 2023-01-22 21:37:44 +00:00
jgharston d1ad501f02
Delete x 2023-01-22 21:37:36 +00:00
jgharston 379fc35240
Delete x 2023-01-22 21:37:23 +00:00
jgharston bf37cc7b9f
Delete x 2023-01-22 21:37:12 +00:00
jgharston fab0c1c1c3
Add files via upload 2023-01-22 21:36:55 +00:00
jgharston de40e76fc7
Add files via upload 2023-01-22 21:36:37 +00:00
jgharston 9086c0a501
Add files via upload 2023-01-22 21:36:03 +00:00
jgharston 89d2feaa4d
Add files via upload 2023-01-22 21:35:33 +00:00
jgharston 1fc6c32cb4
Add files via upload 2023-01-22 21:35:10 +00:00
jgharston ce338dabb0
Add files via upload 2023-01-22 21:34:45 +00:00
jgharston 1113a55ce9
Create x 2023-01-22 21:34:17 +00:00
jgharston 216a1cbd21
Create x 2023-01-22 21:34:04 +00:00
jgharston 8d756963f9
Create x 2023-01-22 21:33:46 +00:00
jgharston da412d6b8a
Create x 2023-01-22 21:33:09 +00:00
Bobbi Webber-Manners 0e36d483be
Merge pull request #276 from jgharston/main
Added test programs
2023-01-22 16:32:49 -05:00
jgharston 6739f65d7f
Create x 2023-01-22 21:32:36 +00:00
jgharston d3f3d2e267
Create x 2023-01-22 21:31:54 +00:00
jgharston 34ed8b02ca
Add files via upload 2023-01-21 22:16:25 +00:00
jgharston 7d58b3aa6a
Tided MODE fall-back
MODEs sorted into logical order and optimised fall-back for unsupported MODEs.
2023-01-21 22:12:52 +00:00
jgharston 4174fe86ee
Delete ENVIRON#060e00 2023-01-21 22:11:28 +00:00
jgharston 5ecf53b3ba
Updated test programs 2023-01-21 22:11:09 +00:00
jgharston 6906a0d90e
Updated test files 2023-01-20 13:33:00 +00:00
jgharston a6c5479985
Merge branch 'bobbimanners:main' into main 2023-01-20 13:32:19 +00:00
jgharston 7fa3e66712
Fixed soft key bug 2023-01-15 02:25:19 +00:00
30 changed files with 26 additions and 17 deletions

View File

@ -112,16 +112,18 @@ VDUWORKSZ EQU VDUVAREND-VDUWORKSP+1
*
* Screen definitions
* 0 1 2 3 6 7 ; MODEs sort-of completed
* 0 1 3 4 6 7 ; MODEs sort-of completed
SCNTXTMAXX DB 79, 39, 39, 79, 39, 39, 39, 39 ; Max text column
SCNTXTMAXY DB 23, 23, 23, 23, 23, 23, 23, 23 ; Max text row
SCNBYTES DB 08, 08, 08, 01, 01, 01, 01, 01 ; Bytes per character
SCNCOLOURS DB 03, 15, 07, 01, 01, 01, 01, 01 ; Colours-1
SCNPIXELS DB 04, 02, 07, 00, 00, 00, 00, 00 ; Pixels per byte
SCNTYPE DB 65, 64,128, 01, 00, 00, 00, 32 ; Screen type
SCNBYTES DB 08, 08, 08, 01, 08, 01, 01, 01 ; Bytes per character
SCNCOLOURS DB 03, 15, 15, 01, 07, 01, 01, 01 ; Colours-1
SCNPIXELS DB 04, 02, 02, 00, 07, 00, 00, 00 ; Pixels per byte
SCNFALLBACK DB 03, 04, 05, 03, 04, 05, 06, 07 ; Fall back if unsupported
SCNTYPE DB 65, 64, 66, 01,128, 02, 00, 32 ; Screen type
* b7=FastDraw -> HGR mode
* b6=SHR mode on Apple IIgs
* b5=Teletext
* b1=40COL/20COL
* b0=40COL/80COL
* Colour table
@ -704,15 +706,16 @@ VDUINIT STA VDUQ+8
* MODEs available:
* MODE 0 - 640x200 SHR graphics, 80x24 bitmap text (GS only)
* MODE 1 - 320x200 SHR graphics, 40x24 bitmap text (GS only)
* MODE 2 - 280x192 HGR graphics, 40x24 bitmap text
* MODE 2 --> MODE 1
* MODE 3 - 80x24 text
* MODE 4 --> MODE 6
* MODE 4 - 280x192 HGR graphics, 40x24 bitmap text
* MODE 5 --> MODE 6
* MODE 6 - 40x24 text
* MODE 7 - 40x24 with $80-$9F converted to spaces
*
* On //e, MODE 0 -> MODE 3
* MODE 1 -> MODE 6
* MODE 1 -> MODE 4
* MODE 2 -> MODE 5
*
VDU22 JSR NEGCALL ; Find machine type
AND #$0F
@ -721,16 +724,22 @@ VDU22 JSR NEGCALL ; Find machine type
:NOTGS STA VDUBANK
LDA VDUQ+8
AND #$07
; jgh
BIT VDUBANK
BMI :INIT ; Skip if GS
CMP #$00 ; Mode 0?
BNE :S1
LDA #$03 ; --> Mode 3 instead
BRA :INIT
:S1 CMP #$01 ; Mode 1?
BNE :INIT
LDA #$06 ; --> Mode 6 instead
BMI :INIT ; All MODEs supported
CMP #$03
BCS :INIT
ADC #$03 ; Fall back to replacement MODE
; BIT VDUBANK
; BMI :INIT ; Skip if GS
; CMP #$00 ; Mode 0?
; BNE :S1
; LDA #$03 ; --> Mode 3 instead
; BRA :INIT
;:S1 CMP #$01 ; Mode 1?
; BNE :INIT
; LDA #$06 ; --> Mode 6 instead
:INIT TAX ; Set up MODE
STX VDUMODE ; Screen MODE

BIN
demos/ClockSp Normal file

Binary file not shown.

BIN
demos/graphics/Circle Normal file

Binary file not shown.

BIN
demos/graphics/CircleINT Normal file

Binary file not shown.

BIN
demos/graphics/Clipping Normal file

Binary file not shown.

BIN
demos/graphics/Ellipse Normal file

Binary file not shown.

BIN
demos/graphics/GCOLs Normal file

Binary file not shown.

BIN
demos/graphics/Graphics Normal file

Binary file not shown.

BIN
demos/graphics/Pixels Normal file

Binary file not shown.

BIN
demos/graphics/Spiral Normal file

Binary file not shown.

BIN
demos/kbd/KBDTest Normal file

Binary file not shown.

BIN
demos/misc/8Queens Normal file

Binary file not shown.

BIN
demos/misc/Tiny65 Normal file

Binary file not shown.

BIN
demos/vdu/Chars Normal file

Binary file not shown.

BIN
demos/vdu/ColourGrid Normal file

Binary file not shown.

BIN
demos/vdu/Colours Normal file

Binary file not shown.

BIN
demos/vdu/Cursor Normal file

Binary file not shown.

BIN
demos/vdu/MODEs Normal file

Binary file not shown.

BIN
demos/vdu/Palette Normal file

Binary file not shown.

BIN
demos/vdu/TextSize Normal file

Binary file not shown.

BIN
demos/vdu/VDUVars Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.