RCA CDP18S711 manual Appendix B - Operating System, Operating System Listing

Page 32

33

Appendix B - Operating System

Operating System Listing

The following shows the machine language code for the ROM operating system. ROM is addressed at

8000-81FF. This listing can be used to verify the contents of the ROM if required.

8000

F8

80

B2

F8

08

A2

E2

D2

8100

30

39

22

2A

3E

20

24

34

8008

64

00

62

0C

F8

FF

Al

F8

8108

26

28

2E

18

14

1C

10

12

8010

0F

B1

F8

AA

51

01

FB

AA

8110

F0

80

F0

80

F0

80

80

80

8018

32

22

91

FF

04

3B

22

B1

8118

F0

50

70

50

F0

50

50

50

8020

30

12

36

28

90

A0

E0

D0

8120

F0

80

F0

10

F0

80

F0

90

8028

El F8 00 73 81 FB AF

3A

8128

F0

90

F0

10

F0

10

F0

90

8030

29

F8

D2

73

F8

9F

51

81

8130

F0

90

90

90

F0

10

10

10

8038

A0

91

B0

F8

CF

Al

D0

73

8138

10

60

20

20

20

70

A0

A0

8040

20

20

40

FF

01

20

50

FB

8140

F0

20

20

7A

42

70

22

78

8048

82

3A

3E

92

B3

F8

51

A3

8148

22

52

C4

19

F8

00

A0

9B

8050

D3

90

B2

BB

BD

F8

81

BI

8150

B0

E2

E2

80

E2

E2

20

A0

8058

B4

B5

B7

BA

BC

F8

46

Al

8158

E2

20

A0

E2

20

A0

3C

53

8060

F8

AF A2 F8 DD A4 F8

C6

8160

98

32

67

AB

2B

8B

B8

88

8068

A5

F8

BA A7 F8 Al AC

E2

8168

32

43

7B

28

30

44

D3

F8

8070

69

DC D7 D7 D7 B6 D7

D7

8170

0A

3B

76

F8

20

17

7B

BF

8078

D7

A6

D4

DC

BE

32

F4

FB

8178

FF 01 3A 78 39

6E

7A

9F

8080

0A

32

EF DC AE 22 61

9E

8180

30

78

D3

F8

10

3D

85

3D

8088

FB 0B 32 C2 9E FB 0F

3A

8188

8F

FF

01

3A

87

17

9C

FE

8090

8F

F8

6F

AC

F8

40

B9

93

8190

35

90

30

82

D3

E2

9C

AF

8098

F6

DC 29 99 3A 97 F8

10

8198

2F

22

8F

52

62

E2

E2

3E

80A0

A7

F8

08

A9

46

B7

93

FE

81A0

98

F8

04

A8

88

3A

A4

F8

80A8

DC 86 3A AD 2E 97 F6

B7

81A8

04

A8

36

A7

88

31

AA

8F

80B0

DC 29 89 3A AD 17 87

F6

81B0

FA 0F 52 30 94

00

00

00

80B8

DC BE 3A 9E DC 69 26

D4

81B8

00

D3

DC

FE

FE

FE

FE

AE

80C0

30

C0

F8

83

AC

F8

0A

B9

81C0

DC BE F1 30 B9

D4

AA

0A

80C8

DC 33 C5 29 99 3A C8

DC

81C8

AA F8 05 AF 4A

5D

8D

FC

80D0

3B

CF F8 09 A9 A7 97

76

81D0

08

AD

2F

8F

3A

CC

8D

FC

80D8

B7

29

DC 89 3A D6 87

F6

81D8

D9

AD

30

C5

D3

22

06

73

80E0

33

E3

7B

97

56

16

86

3A

81E0

86

73

96

52

F8

06

AE

F8

80E8

CF 2E BE 3A CF 30 BD

DC

81E8

D8

AD

02

F6

F6

F6

F6

D5

80F0

16

D4

30

EF

D7

D7

D7

56

81F0

42

FA

0F

D5

BE

F6

AE

32

80F8

D4

16

30

F4

00

00

00

00

81F8

DC

3B

EA

1D

1D

30

EA

01

<eom>

 

 

 

 

 

 

 

 

<eom>

 

 

 

 

 

 

 

 

Image 32
Contents Page RCA COSMAC VIP CDP18S711 Instruction Manual VIP-311ACKNOWLEDGMENT Contents Contents Continued 1. Getting Started What This Manual CoversThe Power Supply 1. Getting Started What You SeeTurning It On Memory Write Using the Operating System11.COSMAC VIP Operation Tape Read Memory ReadTape Write Testing Your Cassette System 11.COSMAC VIP OperationBranch Instructions How to Change and Use the VariablesIII.CHIP-8Language Programming Using the Display Instructions III. CHIP-8 Language Programming 0200 A20A I=020A 0202 6100 V1=00 0204 6200 V2=000206 D125 SHOW 5MI@VlV2 0208 1208 GO 020A F090 020C F090 020E F000Applying CHIP-8 Some Program Ideas 111. CHIP-8Language Programming25.PROGRAMMED SPOT - Introduce children to programming concepts by letting them preprogram the movements of a spot or object on the screen IV. Machine Language Programming VIP Machine CodingMachine Language Programming Summed Up How the Input/Output Works V. Logic DescriptionHow Memory Is Addressed pressed. A 62 machine instruction causes the least significant 4 bits of memory byte to be latched into U13. These 4 bits are decoded to bring one of the 16 U13 output lines low. If the key that corresponds to this output line is pressed, the CDPI802 EF3 input will go low. The 4-bitcodes latched into U13 correspond to the equivalent key positions. After the program send8 a 4-bitcode to U13, it subsequently examines the EF3 line to see if the key corresponding to this code is pressed or not. In this manner, a program can determine when any specific key is pressed or can sequentially scan all keys while waiting for any one to be pressed. Key debounce delays must be provided in the program when required. A program can also cause a speaker tone to occur when a key is pressed. Only one key at a time should be pressed with this method of interfacing the keyboard Using the Byte Input/Output V1. Expansion Considerations and ConnectionsI RCA COSMAC VIP Instruction Manual Using the Expansion InterfaceSome Expansion Ideas Table III - External Option Terminal Connections Pin SignalV1. Expansion Considerations and Connections 2.Composing poetry or pictures with printer output VIL Troubleshooting Hints Other ProblemsSignal Tracing No SoundLast Resorts Beeper Program Appendix A - Test and Operating DataByte Pattern for Displaying COSMAC Test Program Cassette Attachment Diagram Cassette Phase TestSignals Cassette Data Test Cassette Recording Guidelines Memory Test ProgramAppendix B - Operating System Operating System ListingR3 = Machine Language Subroutine Program Counter Operating System Register TableOperating System Summary Appendix C - CHIP-8Interpreter CHIP-8Interpreter ListingInterpreter CHIP-8Memory MapCDP1802 Register Use for CHIP-8 Appendix C - CHIP-8Interpreter CHIP-8User Notes RCA COSMAC VIP Instruction ManualPage 1. VIP Kaleidoscope 2. VIP Video Display Drawing Game Appendix E - Logic Diagrams Fig. E-5Power Supply Circuit and ByteFig. E-1Microprocessor and Display Interface CircuitsPage Fig. E-2- ROM Circuits and Expansion Interface Appendix E - Logic DiagramsPage Fig. E-4- RAM Circuits Appendix E - Logic DiagramsRCA COSMAC VIP Instruction Manuel RCA COSMAC VIP Instruction Manual Board Layout, Parts List, and Expansion Notes Appendix F2.Parts List for RCA COSMAC VIP CDP18S711 1.Printed Circuit Board LayoutRCA COSMAC VIP Instruction Manual Page 2. Parts List for RCA COSMAC VIP CDP18S711 Page RCA COSMAC VIP Instruction Manual Resistors - Supplied 1 /4 W except as notedPage 3. COSMAC VIP Expansion Notes