I have been entering and debugging the Taipan1 code from TAIPAN - A historical adventure for the Apple Computer (PDF) by Art Canfil, Karl Albrecht, and Jim McClenahan, linked to from taipangame.com.
Please note that this is not the same code as the more "common" "hi-res" version of Taipan, in circulation (as shown in fadden's answer) - the book version is a low resolution, 40 column game.
The code in the book does not use high resolution graphics, nor a character generator2.
There is a line in the AppleSoft BASIC version of TAIPAN, listed on page 42, that prints ( a couple of) CHR$(133), when printing the table of goods owned:
150 FOR I = 0 TO 5: VTAB 5 + I:PRINT G$(I):VTAB 5 + I:HTAB 11:PRINT CHR$ (133);: Q=SG(I):GOSUB 1330:VTAB 5 + I:HTAB 26:PRINT CHR$ (133);: Q = GG(I):GOSUB 1330: NEXT I: INVERSE: PRINT A$: NORMAL: RETURN
The corresponding text from the book, also on page 42, refers to this CHR$(133) as a vertical bar, stating:
Then another VTAB and an "HTAB 11" put our cursor eleven columns to the right, so that it displays vertical bars, CHR$(133), to the right of the item names.
However, this character doesn't seem to be displayed on the Apple II emulator, Virtual ][ (with a IIe Enhanced ROM) - at least, I can't see it:
Even a simple test, such as below, shows nothing on screen:
10 PRINT CHR$(133)
20 GOTO 10
Generating the character set myself:
10 FOR N = 0 TO 255
20 PRINT CHR$(N);
30 NEXT
gives
Code with a more descriptive output
100 FOR N=1 TO 254 STEP 4
110 PRINT N;:HTAB5:PRINT CHR$(N);:HTAB 10: PRINT N+1;:HTAB 15:PRINT CHR$(N+1);:HTAB 20: PRINT N+2;:HTAB 25:PRINT CHR$(N+2);:HTAB 30: PRINT N+3;:HTAB 35:PRINT CHR$(N+3)
120 NEXT
shows that nothing is shown for characters 128-160
I have already been burnt3 when looking up the character set for the Apple IIe, as the character set listed on Wikipedia is clearly incorrect.
The only (irrelevant) references for CHR$(133) that I could find are:
- C64 Function Keys -
CHR$(133)is theF1key - Epson MX printer manual -
CHR$(133)is the§character - Extended ASCI character set (Windows-1252) - 133 is the ASCII code of horizontal ellipsis
But, discounting these other platforms, I can't find any AppleSoft BASIC reference for the character code, or CHR$(133) at all... which does seem strange, especially as the book explicitly refers to the CHR$(133) in the text, so it definitely isn't a typo.
Questions
- What does the character with the code 133 look like?
- Does anyone have a link to this and a correct character set for the IIe?
Maybe I am missing something obvious, or there's a bug in the emulator and it can't display the character? Or maybe I need to enable a setting in the emulator to access a better character set, one that the book (maybe) assumes is being used? A more unlikely scenario is that CHR$(133) is actually a typo in the book, and it should be a different character code..?
Footnotes
1 From Help understanding TAIPAN source code for the Apple II
2 The start of chapter 19 states:
Using the Apple II in BASIC, it is very difficult to operate high- resolution graphics, especially with any kind of animation speed. So what we have here is an example of compromises: we've used your Apple's normal characters...
The pirate ships are drawn using ASCII characters (lines 4995 to 5120), like so:
5105 DATA "/: ------- -:- "
5110 DATA " :-- : :000: "
5111 DATA ": \------------/ / "
5112 DATA " \ / "
3 See this comment under How did the Apple IIe convert to upper case?
![Taipan screenshot running in Virtual ][ Taipan screenshot running in Virtual ][](../../images/6045f5733bd7b23fcefa845245142fb7.webp)







CHR$(124)(vertical bar, '|')? – fadden Dec 10 '23 at 18:03