Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 243

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 246

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 243

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 246

Notice: Trying to access array offset on value of type null in /mnt/cpcwiki-httpdocs/includes/profiler/SectionProfiler.php on line 104

Notice: Trying to access array offset on value of type null in /mnt/cpcwiki-httpdocs/includes/profiler/SectionProfiler.php on line 104

Notice: Trying to access array offset on value of type null in /mnt/cpcwiki-httpdocs/includes/profiler/SectionProfiler.php on line 105

Notice: Trying to access array offset on value of type null in /mnt/cpcwiki-httpdocs/includes/profiler/SectionProfiler.php on line 105

Notice: Trying to access array offset on value of type null in /mnt/cpcwiki-httpdocs/includes/profiler/SectionProfiler.php on line 106

Notice: Trying to access array offset on value of type null in /mnt/cpcwiki-httpdocs/includes/profiler/SectionProfiler.php on line 106
GSX - CPCWiki
Last modified on 20 January 2019, at 17:29

GSX

Revision as of 17:29, 20 January 2019 by Arnoldemu (Talk | contribs) (Example)

GSX is the standard graphics library for CP/M.

GSX consists of:

  • GENGRAF.COM
  • ASSIGN.SYS
  • GSX.SYS
  • Device drivers (e.g. DDMODE0.PRL)

GSX.SYS

GSX.SYS is the device independent part of GSX.

GENGRAF.COM

Make your GSX program like any other .COM file. Then use GENGRAF.COM to configure it for GSX. Now run the resulting COM file which will start GSX and then your code.

e.g.

A>GENGRAF GSXDEMO.COM
A>GSXDEMO.COM

Drivers and ASSIGN.SYS

Vendors provided platform specific drivers which implemented GSX.

Amstrad/Locomotive provided DDMODE0.PRL, DDMODE1.PRL and DDMODE2.PRL which implement drivers for each of the CPC's screen modes.

ASSIGN.SYS is a text file which must exist along side gsx.sys and which contains the mapping of device id to the driver that implements that GSX device. When you program GSX you open a device by it's id.

Example content of ASSIGN.SYS

01 @:DDMODE0.PRL

Example

Media:Gsxdemo.zip