mirror of
https://github.com/dschmenk/PLASMA.git
synced 2026-04-20 16:16:34 +00:00
More ALS SmartTerm controls
This commit is contained in:
@@ -737,7 +737,6 @@ def a2textmode(columns)
|
||||
if ^$C304 == $1E // Try and identify different cards
|
||||
flags = flags | txt80a // ALS SmartTerm (hopefully)
|
||||
columns = 80
|
||||
puts("ALS SmartTerm"); getc
|
||||
else
|
||||
flags = flags | txt80v // Treat anything else as VIDEX
|
||||
^$C059
|
||||
@@ -749,7 +748,6 @@ def a2textmode(columns)
|
||||
cout(22); cout('1') // Ensure 80x24
|
||||
columns = 80
|
||||
fin
|
||||
puts("VIDEX"); getc
|
||||
fin
|
||||
fin
|
||||
fin
|
||||
@@ -761,7 +759,7 @@ def a2textmode(columns)
|
||||
cout(26); cout('1')
|
||||
^$C058
|
||||
elsif flags & txt80a // ALS SmartTerm disable
|
||||
cout(1); cout('A'); cout('1')
|
||||
cout(20); cout('A'); cout('1')
|
||||
fin
|
||||
*CSW = cswsave
|
||||
*KSW = kswsave
|
||||
|
||||
+3
-1
@@ -534,8 +534,8 @@ def drawrows(toprow, bottomrow)#0
|
||||
tens, ones = divmod(tens, 10)
|
||||
for row = toprow to bottomrow
|
||||
scrnrow = row + viewtop
|
||||
conio:gotoxy(0, row)
|
||||
if scrnrow < numlines
|
||||
conio:gotoxy(0, row)
|
||||
if flags & gutter
|
||||
seperator = viewleft ?? '<' :: ' '
|
||||
if flags & selection
|
||||
@@ -561,6 +561,8 @@ def drawrows(toprow, bottomrow)#0
|
||||
conio:putchars(numchars, strptr + viewleft + 1)
|
||||
conio:clear(cleol)
|
||||
fin
|
||||
else
|
||||
conio:clear(cleol)
|
||||
fin
|
||||
next
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user