Commodore 128D User Manual Page 2

  • Download
  • Add to my manuals
  • Print
  • Page
    / 31
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 1
Contents
1 Some basics 3
1.1 Expansion memory in 16 kB blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Memory chips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Dynamic headaches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.4 Memory refresh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.5 The MMU expansion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Building the expansion 6
2.1 Disclaimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 Expanding to 512 kilobytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.3.1 Removing the old memory chips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3.2 Adding the new address line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3.3 Prepare for the final step . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.3.4 Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.4 Expanding to 256 or 1024 kilobytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.4.1 Realizing the processor bus interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.4.2 Adding the new memory banking signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.4.3 Soldering the memory chips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3 Using the expansion 15
3.1 The operation of the block switcher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.1.1 PIAs location in address space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.1.2 Block selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.1.3 Interfacing the second MMU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.1.4 Startup settings for the PIA expansion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.2 Segmented memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.3 Critical addresses for the PIA expansion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.4 Initializing the PIA expansion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.5 Programming the PIA in machine language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.5.1 An exception: video memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.6 Programming the MMU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.7 Hints for programming in C128 mode Machine Language . . . . . . . . . . . . . . . . . . . . . . . . 24
3.8 Programming in C128 mode BASIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4 Programming the expansion in C64 mode BASIC 26
4.1 Processing a huge array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.2 Storing graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5 RAM disk and other C64 mode programs 28
5.1 Memory test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.2 Poor man’s multitasking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.3 Machine language monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.4 RAM disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.4.1 Disk copiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
6 Enhancing the PIA expansion 30
6.1 Built-in freezer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
6.2 New operating system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2
Page view 1
1 2 3 4 5 6 7 ... 30 31

Comments to this Manuals

No comments