Skip to content

Commit f520fa0

Browse files
committed
Spelling: "AdLib"
1 parent 820bb1b commit f520fa0

20 files changed

Lines changed: 49 additions & 49 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ http://www.serdashop.com/OPL2LPT
66

77
## ADLiPT
88

9-
The ADLiPT TSR emulates an Adlib sound card.
9+
The ADLiPT TSR emulates an AdLib sound card.
1010
[Read more.](adlipt/)
1111

1212
## ADPATCH

adlipt/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ADLiPT
22

3-
ADLiPT is a driver for the "Adlib on a parallel port" OPL2LPT board.
3+
ADLiPT is a driver for the "AdLib on a parallel port" OPL2LPT board.
44
For more information, see [the thread on the Vogons forum][1].
55

66
[1]: https://www.vogons.org/viewtopic.php?f=62&t=55105
@@ -41,7 +41,7 @@ Load ADLiPT using the command:
4141

4242
- **`BLASTER=220`** Enable Sound Blaster FM emulation. ADLiPT will
4343
intercept the Sound Blaster FM ports in addition to the standard
44-
Adlib ports. (It won't however fake enough of a Sound Blaster to
44+
AdLib ports. (It won't however fake enough of a Sound Blaster to
4545
pass installation checks, so this won't be very useful if you don't
4646
have a Sound Blaster.)
4747

adlipt/adlipt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ static bool setup_qemm() {
238238
ports = collect_ports(&config);
239239
for (i = 0; ports[i]; i++) {
240240
if (qpi_get_port_trap(&qpi, ports[i])) {
241-
cputs("Some other program is already intercepting Adlib I/O\r\n");
241+
cputs("Some other program is already intercepting AdLib I/O\r\n");
242242
exit(1);
243243
}
244244
}

adlipt/res_opl2.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ unsigned emulate_opl2_read(unsigned ax) {
220220

221221
if (config.enable_patching) {
222222
/*
223-
* Typical Adlib routines use dummy IN AL,DX instructions to
223+
* Typical AdLib routines use dummy IN AL,DX instructions to
224224
* provide a delay. This hurts because each of these INs generates
225225
* a fault and especially on slower CPUs the delay will be much
226226
* much longer than intended.
@@ -229,7 +229,7 @@ unsigned emulate_opl2_read(unsigned ax) {
229229
* compensate by adding delay code to our OUT emulation (which
230230
* will not fault).
231231
*
232-
* We don't want to break Adlib detection routines though, there
232+
* We don't want to break AdLib detection routines though, there
233233
* the INs are actually meaningful. So only patch if a register is
234234
* selected that wouldn't be used in such a routine.
235235
*/

adpatch/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# ADPATCH
22

33
ADPATCH can patch games to directly support the OPL2LPT. After
4-
patching, configure the game for an Adlib sound card (in case this
4+
patching, configure the game for an AdLib sound card (in case this
55
isn't auto-detected).
66

77
Caveats:
88

99
- Patching can break sound card support (including support for
10-
non-Adlib cards).
10+
non-AdLib cards).
1111
- Patched games might only work on the computer where the patch was
1212
done. This is because the patch hardcodes the parallel port I/O
1313
address, which I believe might vary from computer to computer.

adpatch/genpat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def collect_symbols(patterns):
145145
with redirect_stdout(open('patterns.rl', 'wt')):
146146
print("""/* Generated by genpat.py */
147147
%%{
148-
machine AdlibScanner;
148+
machine AdLibScanner;
149149
include x86 "x86.rl";
150150
main := |*
151151
""")

adpatch/patterns/ail.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Miles Audio Interface Library 2.0 (Adlib check)
2+
name: Miles Audio Interface Library 2.0 (AdLib check)
33
ragel: |
44
push_ds.
55
push_si.
@@ -32,7 +32,7 @@ replace: |
3232
pop cx
3333
retf
3434
---
35-
name: Miles Audio Interface Library 2.0 (Adlib output)
35+
name: Miles Audio Interface Library 2.0 (AdLib output)
3636
ragel: |
3737
out_dx_al.
3838
mov_ah_i8.any.
@@ -52,7 +52,7 @@ replace: |
5252
extern miles_far_output
5353
jmp miles_far_output
5454
---
55-
name: Miles Audio Interface Library 3.0 (Adlib check)
55+
name: Miles Audio Interface Library 3.0 (AdLib check)
5656
ragel: |
5757
push_ds.
5858
push_si.
@@ -85,7 +85,7 @@ replace: |
8585
pop cx
8686
ret
8787
---
88-
name: Miles Audio Interface Library 3.0 or /32 (Adlib output)
88+
name: Miles Audio Interface Library 3.0 or /32 (AdLib output)
8989
comment: |
9090
This code sequence is identical in 16-bit real mode and 32-bit
9191
protected mode versions...
@@ -109,7 +109,7 @@ replace: |
109109
extern miles_near_output
110110
jmp miles_near_output
111111
---
112-
name: Miles Audio Interface Library/32 (Adlib check)
112+
name: Miles Audio Interface Library/32 (AdLib check)
113113
ragel: |
114114
push_ebx.
115115
push_esi.
@@ -144,7 +144,7 @@ replace: |
144144
pop ecx
145145
ret
146146
---
147-
name: Miles Audio Interface Library/16 (Adlib check)
147+
name: Miles Audio Interface Library/16 (AdLib check)
148148
ragel: |
149149
((
150150
mov_ax_i16.0x04.0x00.
@@ -172,7 +172,7 @@ ragel: |
172172
replace: |
173173
mov ax, 1
174174
---
175-
name: Miles Audio Interface Library/16 (Adlib output)
175+
name: Miles Audio Interface Library/16 (AdLib output)
176176
ragel: |
177177
((mov_dx_i16.any.any) | (cs?.mov_dx_word_any16)).
178178
mov_al_bl.

adpatch/patterns/apogee.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Apogee Adlib output
2+
name: Apogee AdLib output
33
ragel: |
44
0x8b.any.0x06. # mov r16, word ptr [bp+6]
55
pushf.

adpatch/patterns/copysoft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Copysoft Adlib detection
2+
name: Copysoft AdLib detection
33
find: |
44
test word [bp-2], 0xE0
55
jnz L1

adpatch/patterns/dmx.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: DMX engine Adlib detection
2+
name: DMX engine AdLib detection
33
find: |
44
bits 32
55
test cl,0xe0
@@ -15,7 +15,7 @@ replace: |
1515
bits 32
1616
mov edx,2
1717
---
18-
name: DMX engine Adlib output (part A)
18+
name: DMX engine AdLib output (part A)
1919
find: |
2020
; ax: port
2121
; dx: register
@@ -104,7 +104,7 @@ replace: |
104104
105105
SKIP:
106106
---
107-
name: DMX engine Adlib output (part B)
107+
name: DMX engine AdLib output (part B)
108108
find: |
109109
; ax: register
110110
; dx: data

0 commit comments

Comments
 (0)