Jump to content
  • entries
    24
  • comments
    22
  • views
    43,720

Indus GT CP/M Experiments


Stephen

2,910 views

After much trouble, I now have a few working CP/M disks. I will detail the process of getting images from the internet to a working CP/M floppy in the coming days. For now, I will show how I changed the god-awful colours of the stock Term-80 program.

 

Here you see the before image. I am running MS BASIC-80 Ver 5.21 on top of CP/M 2.22. This is running on a 64kB Z-80 system (the controller of my Indus GT disk drive)

blogentry-650-0-60880400-1318385596_thumb.png

 

Knowing that the Atari's color registers start at $02C0, I fired up the Term-80 program in Atari Win+ and inspected the word of memory starting at $02C0

blogentry-650-0-84581700-1318385712.png

 

I then used my trusty 130XE, MyDOS 4.53, and APE 3.06 to transfer the Term-80 executable to my PC. I loaded it into Notepad++ and jumped to the hex editor. The first four bytes tell me that it is a binary file which loads at $6000.

blogentry-650-0-53246500-1318385573_thumb.png

 

Here's the cheat-sheet I made, describing the three colour registers I need to change, and the offset into the code (taking the 6-byte header into account).

blogentry-650-0-31334900-1318385579_thumb.png

 

Knowing the start address of the program, I disassemble RAM starting at $6000. Scrolling down a few pages, I reach offset $AE and see the LDA/STA pair that sets the cursor colour (PCOLR0). This means I need to change the byte at offset $B4 in the hex-editor.

blogentry-650-0-82280200-1318385569_thumb.png

 

After the three bytes have been changed, the output is much easier on the eyes.

blogentry-650-0-06385900-1318385586_thumb.png

 

Here is a video of the nasty colour scheme

http://www.youtube.com/watch?v=ez_hH03VyiM

 

Now the adjusted output

http://www.youtube.com/watch?v=RfS_DQeP4fc

  • Like 2

2 Comments


Recommended Comments

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...