Skip to content

Commit

Permalink
Fix multiburst pattern only working once per program start
Browse files Browse the repository at this point in the history
Closes #9
  • Loading branch information
MobyGamer committed Dec 13, 2023
1 parent 1e381aa commit 6f6fc55
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CGACMAIN.PAS
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const
AboutText:array[0..AboutTextLines+1] of pChar=(
'',
' The CGA Compatibility Tester',
' Version 1.3, 20230818',
' Version 1.31, 20231213',
' by Jim Leonard (trixter@oldskool.org) ',
''
);
Expand Down
7 changes: 6 additions & 1 deletion CGAFLAGS.INC
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{$M 8192,0,200000}
{$M 10240,0,262144}
{compilation flags}

{{$DEFINE OVERLAY} {use overlays} {only for when trying to develop on 5160}
{{$DEFINE EXTREMEOVERLAY} {overlay EVERYTHING -- may not be what you want!}

{{$DEFINE DEBUG}

{$IFDEF DEBUG}
{$A+,D+,I+,Q+,R+,S+,V+,X+}
{$ENDIF}
3 changes: 2 additions & 1 deletion CGAMTEST.PAS
Original file line number Diff line number Diff line change
Expand Up @@ -690,9 +690,9 @@ end;
Procedure CalibMultiburst;
const
accel=0.05;
thickness:real=0.05;
var
x,barw,cols:integer;
thickness:real;
begin
with InfoPrompt do begin
init(6,strpas(menuLookup[mLinearRGB].title));
Expand All @@ -711,6 +711,7 @@ begin
if Result=Escaped then exit;
Preptest;
vs:=new(pvidCGAGmode6,Init(mode6,true));
thickness:=0.05;
with vs^ do begin
box(0,0,width-1,height-1,maxcolors-1);
x:=width-1;
Expand Down
1 change: 1 addition & 0 deletions CGA_COMP.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ Version History:
program, so CGA_COMP.DAT is no longer required, making CGA_COMP.EXE
the only file necessary to perform testing.
Made information dialogs easier to read and less cluttered.
1.31: Fixed multiburst pattern only working once per program start.

Possible future enhancements:
- Test on PCjr and ensure all tests work on PCjr
Expand Down
Binary file modified CGA_COMP.ZIP
Binary file not shown.
2 changes: 1 addition & 1 deletion FILE_ID.DIZ
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
The CGA Compatibility Tester
Version 1.3, 2023
Version 1.31, 2023

- Test your CGA for compatibility
- Calibrate your monitor
Expand Down

0 comments on commit 6f6fc55

Please sign in to comment.