Mega-Micro's
Microcomputer projects new & old
Mega-Micros Home
12 Edgefield Close
Redditch B98 7WB
ENGLAND
 
+44 (0)7973 265572
info@mega-micros.co.uk
68000 68030 CPLD FPGA ARM
SHOP        
The ACRTC Board

The following short programs are written in 'C' and illustrate some of the hardware accelerated drawing capabilities of the Hitachi HD63484 Advanced CRT Controller on the ACRTC Board.

 
The ACRTC Graphics Library

To use ANY of the 'C' programs/demos on this page - you must first follow the instructions directly below to download and compile the ACRTC Graphics Library - the resulting object file can then be linked with the program/demo object file to produce a .68K executable file.

 
1. Download the following file:
 
acrtc.h  
2. Use a text editor to open the downloaded file
3. Highlight and copy ALL the text within the file
4. Jump to the CP/M-68K OS command prompt
5. Type: ME ACRTC.H
6. Paste the copied text into the MicroEMACS editor window
7. Type: CTRL+Z to save the file and quit
8. Download the following file:
 
acrtclib.c  
9. Use a text editor to open the downloaded file
10. Highlight and copy ALL the text within the file
11. Jump to the CP/M-68K OS command prompt
12. Type: ME ACRTCLIB.C
13. Paste the copied text into the MicroEMACS editor window
14. Type: CTRL+Z to save the file and quit
15. Type: C ACRTCLIB
 
The ACRTC Graphics Library is now compiled and ready for linking.
 
ACRTC - Graphics Demo1

This program draws 250 random lines on the ACRTC graphics screen.

 
1. Download the following file:
 
acrtc_demo1_v1.00.c  
2. Use a text editor to open the downloaded file
3. Highlight and copy ALL the text within the file
4. Jump to the CP/M-68K OS command prompt
5. Type: ME DEMO1.C
6. Paste the copied text into the MicroEMACS editor window
7. Type: CTRL+Z to save the file and quit
8. Type: C DEMO1
9. Type: CLINK DEMO1 ACRTCLIB
10. Type: DEMO1 to run the program
 
ACRTC - Graphics Demo2

This program draws 250 random rectangles on the ACRTC graphics screen.

 
1. Download the following file:
 
acrtc_demo2_v1.00.c  
2. Use a text editor to open the downloaded file
3. Highlight and copy ALL the text within the file
4. Jump to the CP/M-68K OS command prompt
5. Type: ME DEMO2.C
6. Paste the copied text into the MicroEMACS editor window
7. Type: CTRL+Z to save the file and quit
8. Type: C DEMO2
9. Type: CLINK DEMO2 ACRTCLIB
10. Type: DEMO2 to run the program
 
ACRTC - Graphics Demo3

This program draws 250 random circles on the ACRTC graphics screen.

 
1. Download the following file:
 
acrtc_demo3_v1.00.c  
2. Use a text editor to open the downloaded file
3. Highlight and copy ALL the text within the file
4. Jump to the CP/M-68K OS command prompt
5. Type: ME DEMO3.C
6. Paste the copied text into the MicroEMACS editor window
7. Type: CTRL+Z to save the file and quit
8. Type: C DEMO3
9. Type: CLINK DEMO3 ACRTCLIB
10. Type: DEMO3 to run the program
 
ACRTC - CLS
This handy little utility clears the ACRTC graphics screen.
 
1. Download the following file:
 
acrtc_cls_v1.00.c  
2. Use a text editor to open the downloaded file
3. Highlight and copy ALL the text within the file
4. Jump to the CP/M-68K OS command prompt
5. Type: ME CLS.C
6. Paste the copied text into the MicroEMACS editor window
7. Type: CTRL+Z to save the file and quit
8. Type: C CLS
9. Type: CLINK CLS ACRTCLIB
10. Type: CLS to run the program
 
ACRTC - Test
This program repeatedly draws random lines, rectangles, and circles on the ACRTC graphics screen.
 
1. Download the following file:
 
acrtc_test_v1.00.c  
2. Use a text editor to open the downloaded file
3. Highlight and copy ALL the text within the file
4. Jump to the CP/M-68K OS command prompt
5. Type: ME TEST.C
6. Paste the copied text into the MicroEMACS editor window
7. Type: CTRL+Z to save the file and quit
8. Type: C TEST
9. Type: CLINK TEST ACRTCLIB
10. Type: TEST to run the program
 
System Requirements
Mega 68000 or 68030 Computer System with 1x free expansion slot
Standard VGA monitor connected to the ACRTC Boards DE-15 interface
System ROM V2.04 or later
 

Unable to download?

Some internet browsers may display the files contents rather than download the file, if so use the following keyboard shortcuts to select ALL the text in the browser window and copy it to the Windows clipboard.

CTRL+A (Select All)
CTRL+C (Copy)

Using Windows Notepad (or equivalent) create a new empty text document and paste the copied text into the document using the following shortcut.

CTRL+P (Paste)
Now save the document and to avoid confusion later name it the same as the download name.
 
 
 
Disclaimer
All hardware designs, software, and information shared on this website is provided "as is"
without warranty of any kind and strictly for personal non-commercial use only.
 
 
Website V0.97 (C) 2021 Mega-Micros
Status: under construction
Mega-Micros Home
12 Edgefield Close
Redditch B98 7WB
ENGLAND
 
+44 (0)7973 265572
info@mega-micros.co.uk