Skip to content

Commit cabde0c

Browse files
committed
update
1 parent 1a3abf3 commit cabde0c

35 files changed

+515
-499
lines changed

lib/aplib.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
(*
33
* @type: unit
44
* @author: John Brandwood, Krzysztof 'XXL' Dudek, Tomasz 'Tebe' Biela
5-
* @name: APL
5+
* @name: APL decompression unit
66
*
77
* @version: 1.0
88
*

lib/atari.pas

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
@type: unit
44
@author: Tomasz Biela (Tebe)
55
@name: Common used memory registers (Atari XE/XL)
6-
@version: 1.0
7-
8-
changes: 03.11.2016
6+
@version: 1.3
97
108
@description:
119
<https://www.atariarchives.org/mapping/memorymap.php>

lib/blowfish.pas

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
unit blowfish;
22
(*
33
@type: unit
4-
@author: Free Pascal development team, Tomasz Biela
5-
@name: Blowfish
4+
@author: Free Pascal development team, Tomasz Biela (Tebe)
5+
@name: Blowfish cipher unit
66
@version: 1.1
77
88
@description:
9-
Unit implementing simple blowfish algorithm
9+
Unit implementing simple blowfish algorithm.
1010
11+
<https://en.wikipedia.org/wiki/Blowfish_(cipher)>
1112
*)
1213

1314
{
@@ -50,7 +51,7 @@ function EncryptString(aString: string): string;
5051
@description:
5152
5253
*)
53-
54+
5455

5556
implementation
5657

lib/cio.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
@version: 1.0
77
88
@description:
9-
9+
CIO - Central Input/Output
1010
*)
1111

1212

lib/crt.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
unit crt;
22
(*
33
@type: unit
4-
@name: Mad Pascal screen and keyboard handling units
4+
@name: screen and keyboard handling unit
55
@author: Tomasz Biela (Tebe)
66
77
@description:

lib/deflate.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
(*
33
* @type: unit
44
* @author: Piotr Fusik
5-
* @name: Deflate
5+
* @name: Deflate decompression unit
66
*
77
* @version: 1.0
88
*

lib/e80.pas

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
@name: 80: device
66
@version: 1.3
77
8-
Version 1.3:
9-
- CALCXY optimization, fast *320 multiplication
10-
- GETCHR optimization
8+
@description:
9+
80: device by SIMON TREW, 1989
1110
12-
Version 1.2:
11+
Version 1.2:
1312
- information about CIO, XIO command
1413
15-
@description:
16-
80: device by SIMON TREW, 1989
14+
Version 1.3:
15+
- CALCXY optimization, fast *320 multiplication
16+
- GETCHR optimization
1717
*)
1818

1919
(*

lib/fastmath.pas

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
88
@description:
99
10-
https://codebase64.org/doku.php?id=base:6502_6510_maths
11-
https://dwheeler.com/6502/oneelkruns/asm1step.html
10+
<https://codebase64.org/doku.php?id=base:6502_6510_maths>
11+
12+
<https://dwheeler.com/6502/oneelkruns/asm1step.html>
1213
*)
1314

1415

@@ -29,8 +30,8 @@ interface
2930
function fastdiv(divisor, divider: word): word; external 'fdiv\fdiv';
3031
function fastdivS(divisor, divider: smallint): smallint; external 'fdiv\fdiv';
3132
{$endif}
32-
33-
33+
34+
3435
implementation
3536

3637

lib/gr0pp.pas

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* @version: 1.0
77
* @description:
88
* Set of procedures to initialize, run, and use special graphics mode 0++.
9+
*
910
* Resolution 40x60 chars, 2 colors
1011
*
1112
*)

lib/gr10pp.pas

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* @version: 0.5.4
77
* @description:
88
* Set of procedures to initialize, run, and use special graphics mode 10++.
9+
*
910
* Resolution 80x48, 9 colors, square pixel (for lineHeight = 4)
1011
*
1112
* This library is nota a part of 'blibs' - set of custom Mad-Pascal libraries.
@@ -21,23 +22,23 @@ procedure Gr10Init(DListAddress: word; VRamAddress: word; lines: byte; pixelHeig
2122
* Turns on 10++ mode.
2223
*
2324
* @param: DListAddress - memory address of Display list
24-
*
25+
*
2526
* @param: VRamAddress - video memory address
26-
*
27+
*
2728
* @param: lines - number of horizontal lines (vertical resolution)
2829
*
2930
* @param: pixelHeight - height of a pixel in scanlines (between 2 and 16)
3031
*
3132
* @param: blanks - number of blanklines (8 x scanline) at top of the screen
32-
*
33+
*
3334
*)
3435
procedure SetPixelHeight(lines: byte);
3536
(*
3637
* @description:
3738
* Sets height of a pixel in a scan lines.
38-
*
39+
*
3940
* @param: lines - height of a pixel in scanlines (between 2 and 16)
40-
*
41+
*
4142
*)
4243

4344

@@ -52,24 +53,24 @@ procedure SetPixelHeight(lines: byte);
5253

5354
implementation
5455

55-
uses graph;
56+
uses graph;
5657

5758

5859
var dList : array [0..0] of byte;
59-
dlPtr: word;
60+
dlPtr: word;
6061

6162

6263
procedure G10Dli;interrupt; assembler;
6364
asm
64-
dli
65-
pha
66-
sta WSYNC ;($d40a)
67-
lda #13
65+
dli
66+
pha
67+
sta WSYNC ;($d40a)
68+
lda #13
6869
.def :VS_Upper = *-1
69-
sta VSCROL ;($d405)
70+
sta VSCROL ;($d405)
7071
lda #3
7172
.def :VS_Lower = *-1
72-
sta VSCROL ;($d405)
73+
sta VSCROL ;($d405)
7374
pla
7475
end;
7576

@@ -138,7 +139,7 @@ procedure BuildDisplayList(DListAddress: word; VRamAddress: word; lines: byte; b
138139
procedure Gr10Init(DListAddress: word; VRamAddress: word; lines: byte; pixelHeight:byte; blanks: byte);
139140
begin
140141
InitGraph(10+16);
141-
142+
142143
BuildDisplayList(DListAddress, VRamAddress, lines, blanks);
143144
SetPixelHeight(pixelHeight);
144145
SDLSTL := DListAddress;

0 commit comments

Comments
 (0)