MartyPC CGA Graphics and Turbo Assembler - YouTube Video
Simple CGA Graphics Routines
Below I've provided the source code for CGA Graphics routines using Borland Turbo Assembler v2.0, although it can easily be modified for any assembler. I had to comply with the MS-DOS 8.3 naming convention.
Sample HDD for MartyPC
Below is a link to a sample Hard Drive loaded with some development software. Most titles below can be acquired from WinWorldPC
I'm happy to share that the ibm.zip (MartyPCHDD.vhd) hard drive image has been updated as of May 29, 2026!
What's New:
- Streamlined Startup: C:\CONFIG.SYS now points directly to C:\BIN\STARTUP.BAT instead of the traditional C:\AUTOEXEC.BAT
- Easy Development Environment: We've added C:\BIN\DEV.BAT to make setting up your workspace a breeze. Simply type dev at the command line to choose your preferred language and compiler. This script will automatically handle your PATH and all necessary environment variables.
- Updated Samples: Head over to the C:\WORK\ directory to explore the freshly updated source code for some useful sample programs!
Quick Tip: For the best experience, I highly recommend renaming the included MartyPCHDD.vhd file to default_xtide.vhd to replace the default image. Just place it in your MartyPC folder under /media/hdds, and it will be ready for you in the Media -> Hard Disk menu as soon as you launch MaryPC.
- IBM PC DOS v7.0
- Eric Isaacson's A86 Macro Assembler v4.05 (Shareware Edition)
- Robert Zale's PowerBasic v3.5
- Microsoft QuickBasic v4.5
- Microsoft QuickC v2.51
- Microsoft QuickPascal v1.0
- Microsoft Macro Assembler v5.1
- Microsoft Basic Professional v7.1
- Borland Turbo Assembler v2.0
- Borland Turbo Pascal v6.0