The text of a manual · part 24 of 28
PEN*KEY 6400 Computer Programmer's Reference Guide: Section 6: Reference, System Information, pages 197 to 204
Pages 197 to 204 of 234, from PEN*KEY 6400 Computer Programmer's Reference Guide
The original document is the PDF (1.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec 6400
Page 197
SECTION 6
Reference, System Information
Audible Error Codes There are two different kinds of beeping that occur when the unit is rebooted. This is the result of a two-stage process that occurs during a reboot. The primary set of beep codes all have the same frequency and duration. The number of beeps generated identifies the code. The secondary set of beep codes consists of at least one long, one medium long, and one short beep. The following table shows the beep codes for POSTs. Table 6-2 Audible POST Error Codes
Duration and # Beeps
" NOTE:
Long Medium
Short
Meaning
1
1
2
Unable to read clocks for peripherals.
1
1
4
ROM BIOS checksum failed.
1
3
1
RAM Refresh is not active.
1
3
3
First 64K of system RAM is not operating correctly.
3
4
3
LCD cannot be enabled.
4
2
3
Cannot enable A20 using port 64h (standard keyboard port)
4
2
4
Cannot enable A20 using port 92h (IBM fast A20 port).
4
2
5
Cannot enable A20 using port 0EEh (special fast A20 port).
4
4
2
Cannot copy BIOS into shadow RAM.
A20 refers to the special PC/AT hardware that enables or disables address line number 20 on the system memory address bus. The A20 line can be disabled to maintain compatibility with 8088-based hardware platforms.
PEN*KEYR 6400 Programmer’s Reference Guide
6-9
Page 198
SECTION 6
Reference, System Information
Hardware Ports and Memory Maps Hardware Ports The following is a list of communication ports and the devices supported through those ports: Table 6-3 Hardware Ports
COM Port
Device
COM1 COM2 COM3 COM4
Regular wired port, accessed through dock, or communications adaptor Internal bar code scanner IrDA port Not Applicable
IRQ and Other Hardware Interrupts The system supports the following hardware interrupts: Table 6-4 Hardware Interrupts
Vector Type
Usage
00h 01h 02h 03h 04h 05h 07h 08h 09h
Divide error Debug exceptions, such as single step Nonmaskable interrupt Breakpoint Overflow trap Bounds exception Invalid opcode Timer interrupt handler Keyboard interrupt handler Coprocessor segment overrun Slave (Cascades IRQ8 – IRQ15) Invalid task state segment Serial port 2 (COM2) internal scanner Segment not present Serial port 1 (COM1) Stack fault COM3 (IrDA port) General protection error Page fault BATTERY DATA Coprocessor error Real-time clock periodic interrupt Proxim 2.4 GHz Radio Card (Set up in NET.CFG) defaults to IRQ15 System Management Interrupt
0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 10h 70h SMI 6-10 processor processor processor processor processor processor processor IRQ0 IRQ1 processor IRQ2 processor IRQ3 processor IRQ4 processor IRQ5 processor processor IRQ7 processor IRQ8 IRQxx
PEN*KEYR 6400 Programmer’s Reference Guide
Page 199
SECTION 6
Reference, System Information
I/O Map Table 6-5 I/O Addresses and Devices
I/O Address
Device
000–00F 020–021 022–023 040–043 060
8237 DMA controller #1 8259 interrupt controller #1 ELAN Configuration Registers 8253 system timer Keyboard
061 064 070–071 080 081–08F
Port B Keyboard Real-time clock and NMI mask POST debug port DMA page registers
092 0A0–0A1 0C0–0DF 108–16F 170–177
PS/2 port 92 8259 interrupt controller #2 8237 DMA controller #2 Reserved for PC Card general use Reserved (secondary hard disk controller)
178–1EF 1F0–1F7 1F8–1FF 200–207 210–21F
Reserved for PC Card general use Reserved for PC Card (primary ATA/IDE disk controller) Reserved for PC Card general use Proxim 2.4GHz card radio Reserved for PC Card general use
220–224 225–237 238–23F 240–277 278–27F
Reserved for SST radio Reserved for PC Card general use Reserved (bus mouse) Reserved for PC Card general use Reserved (Parallel Port, such as LPT1)
280–2E7 2E8–2EF 2F0–2F7 2F8–2FF 320–35F
Reserved for PC Card general use Reserved (PC Card and COM) Reserved for PC Card general use COM 2 (scanner) Reserved for PC card general use
378–37F 380–38F 390–39F 3A0–3AF 3B0–3BF
Reserved (PC Card and Parallel port) Reserved (PC Card and SDLC) Reserved for PC Card general use Reserved (PC Card and SDLC) Reserved (MDA, EGA, and VGA)
3C0–3DF 3E8–3EF 3F6–3F7 3F8–3FF
VGA and CGA COM 3 (IrDA port) Reserved for PC Card (primary ATA and IDE disk controller) COM 1
PEN*KEYR 6400 Programmer’s Reference Guide
6-11
Page 200
SECTION 6
Reference, System Information
BIOS/CMOS System Variables The ROM BIOS is the system software at the lowest layer of a PC operating environment. The ROM BIOS provides a hardware abstraction level in a system so that higher levels of software need not be concerned with certain hardware details. Occasionally, it is helpful to examine the ROM BIOS or at least look at the data that it uses to get its job done. For that reason, the following lists name the data areas on which the ROM BIOS operates. " NOTE:
A full description of each variable used by BIOS is beyond the scope of this publication.
ROM BIOS Data Area A PC-compatible ROM BIOS uses system variables stored starting at location 40:0h. This address starts the first block of data immediately following the interrupt vector table. A de facto industry standard defines most of the variables that a ROM BIOS must operate on. In the following table, the entries that are unique to the NORAND BIOS are bold and italicized. The rest are defined in accordance with the industry standard. Table 6-6 BIOS Data in System RAM
6-12
Address Size
Description
40:00
4 words
40:08
3 words
40:0E 40:10 40:12
1 word 1 word 1 byte
I/O address of up to four asynchronous communications adaptors (COM1–COM4) Reserved: I/O address of up to three printer adaptors (LPT1–LPT3) Segment address of extended BIOS Data Area Equipment status word (returned by interrupt 11h) Reserved: POST status
40:13
1 word
40:15 40:17 40:19 40:1A
1 word 1 word 1 byte 1 word
40:1C
1 word
40:1E 40:3E 40:3F 40:40
16 words 1 byte 1 byte 1 byte
40:41 40:42 40:49 40:4A
1 byte 7 bytes 1 byte 1 word
40:4C
1 word
Diskette status return code, status of last RAM card access Reserved: Diskette controller status bytes Video mode setting Number of video columns in memory (not all columns are represented onscreen) Current page size in bytes
40:4E 40:50 40:60
1 word 8 words 1 word
Current page address Cursor position for each page Cursor display mode (start and end line)
Conventional memory size in kilobytes (returned by interrupt 12h) Pass or Fail indicators for RAM POST test Keyboard shift flags Alt-keypad accumulator Pointer to next keycode in keyboard buffer Pointer to next available location to save a keycode in the keyboard buffer Circular keyboard buffer Reserved: Diskette recalibrate status Reserved: Diskette motor status Reserved: Diskette master timeout control
PEN*KEYR 6400 Programmer’s Reference Guide
Page 201
SECTION 6
Reference, System Information
Table 6-6 (continued) BIOS Data in System RAM
Address Size
Description
40:62 40:63
1 byte 1 word
Current display page I/O address of display hardware
40:65 40:66 40:67 40:6B 40:6C
1 byte 1 byte 1 dword 1 byte 1 word
Current mode select register Current palette value Segmented address of video option ROM Reserved: Last interrupt that occurred Time of day counter, low word
40:6E 40:70 40:71 40:72 40:74
1 word 1 byte 1 byte 1 word 1 byte
Time of day counter, high word Timer overflow indicator System break flag System reset flag Reserved: Last hard disk status
40:75 40:76 40:77 40:78 40:7C
1 byte 1 byte 1 byte 4 bytes 4 bytes
Number of fixed drives Reserved: Fixed disk control byte Reserved: Fixed disk port offset Reserved: Printer timeout table Serial timeout table
40:80 40:82 40:84 40:85 40:87
1 word 1 word 1 byte 1 word 1 byte
Offset to start of keyboard buffer Offset to end of keyboard buffer Number of rows onscreen (24/25) Character height (bytes and characters) Video control bit flags
40:88 40:89 40:8A 40:8B 40:8C
1 byte 1 byte 1 byte 1 byte 1 byte
Video feature bit flags VGA control bit flags Display combination code table index Reserved: Diskette data rate information Reserved: Fixed disk status register
40:8D 40:8E 40:8F 40:90 40:91
1 byte 1 byte 1 byte 1 byte 1 byte
Reserved: Fixed disk error register Reserved: Fixed disk interrupt flag Reserved: Diskette controller information Media type for drive 0 Media type for drive 1
40:92 40:93 40:94 40:96 40:97
1 byte 1 byte 2 bytes 1 byte 1 byte
Media type for drive 2 Media type for drive 3 Reserved: Current track for each drive Keyboard status byte Keyboard LED status byte
40:98 40:9C 40:A0 40:A1 40:C8
1 dword 1 dword 1 byte 39 bytes 10 bytes
Segmented pointer to user wait flag Wait timeout data word Wait active flag Reserved Reserved for real mode restart stack, used by RESTART
40:D2 40:D4 40:D8
1 word RS-232 timeout counter, used by interrupt 14h 4 bytes Reserved, used by POST 20 words Reserved
PEN*KEYR 6400 Programmer’s Reference Guide
6-13
Page 202
SECTION 6
Reference, System Information
CMOS Registers Registers in CMOS RAM are provided as part of a real-time clock interface. You access the registers by writing a register number to port 70h and then either reading or writing port 71h to access the contents of the specified register. The first few registers are real-time clock registers. In the list that follows, register definitions specific to Intermec are bold and italicized. The remainder are defined by PC-compatibility standards. Table 6-7 CMOS Register Assignments
6-14
Registers
Assignments
RTC_SECONDS RTC_SECONDS_ALARM RTC_MINUTES RTC_MINUTES_ALARM RTC_HOURS
0 1 2 3 4
RTC_HOURS_ALARM RTC_WEEKDAY RTC_DAY RTC_MONTH RTC_YEAR
5 6 7 8 9
RTC_REG_A RTC_REG_B RTC_REG_C RTC_REG_D RTC_CENTURY
10 11 12 13 032h
CMOS_DIAGS CMOS_SHUTDOWN SD_NORMAL_RESET SD_REAL_MODE_ENTRY SD_BOOTSTRAP
0Eh 0Fh 0 1 4
SD_EOI_JMP SD_FAR_JMP SD_BLOCK_MOVE1 SD_MEM_TEST SD_BLOCK_MOVE2
5 6 7 8 9
SD_FAR_JMP2 SD_IRET SD_FAR_RET CMOS_DISKETTE1_TYPE CMOS_DISKETTE2_TYPE
10 11 12 10h 11h
CMOS_FDISK_TYPE CMOS_EQUIPMENT CMOS_BASE_MEMLO CMOS_BASE_MEMHI
12h 14h 15h; Conventional memory size 16h
CMOS_XTD_MEMLO CMOS_XTD_MEMHI CMOS_FDISK1_TYPE CMOS_FDISK2_TYPE
17h; Extended memory size 18h 19h 1Ah
PEN*KEYR 6400 Programmer’s Reference Guide
Page 203
SECTION 6
Reference, System Information
Table 6-7 (continued) CMOS Register Assignments
Registers
Assignments
CMOS_CHKSUM_HI CMOS_CHKSUM_LO CMOS_POST_XTD_MEMLO CMOS_POST_XTD_MEMHI CMOS_DOS_FLAGS
2Eh; Checksum for 10h–2Dh 2Fh 30h; Posted extended memory size 31h 3Fh; ROM DOS boot flags bMasterModeBoot bDefaultDrive CMOS_FLASH_INFORMATION FLASH_1_512K FLASH_2_512K
01h; Master Mode boot bit 06h; 00=A:, 01=B:, 10=C:, 11=D: 40h 02h 04h
FLASH_1_2MEG FLASH_2_2MEG FLASH_3_2MEG FLASH_4_2MEG bINTEL bAMD
08h 10h 18h 20h 40h; Set only for Intel flash type 80h; Set only for AMD flash type
PEN*KEYR 6400 Programmer’s Reference Guide
6-15
Page 204
Reference, System Information
6-16
PEN*KEYR 6400 Programmer’s Reference Guide
SECTION 6