### source

### source - cpc+

Setup CPC+ sprites[highlighted]-[original][27-February-2005]-[ 5.1 KB]

Splitting the screen using the CPC+ hardware[highlighted]-[original][27-February-2005]-[ 2.4 KB]

Saving the system cartridge of the CPC+[highlighted]-[original][27-February-2005]-[ 3.5 KB]

RLE hardware sprites (a method for fast update of animating hardware sprites)[highlighted]-[original][27-February-2005]-[ 3.3 KB]

Hardware scrolling the screen vertically using the CRTC and CPC+ pixel hardware scroll[highlighted]-[original][27-February-2005]-[ 5.2 KB]

Hardware scrolling the screen horizontally using the CRTC and CPC+ pixel hardware scroll[highlighted]-[original][27-February-2005]-[ 5.5 KB]

### source - cpm

A simple 'Hello World' program for CP/M using BDOS[highlighted]-[original][27-February-2005]-[ 1.2 KB]

A simple 'Hello World' program for CP/M using BIOS[highlighted]-[original][27-February-2005]-[ 1.7 KB]

Executing firmware functions from within CP/M 2.1[highlighted]-[original][27-February-2005]-[ 1.3 KB]

Executing firmware functions from within CP/M+[highlighted]-[original][27-February-2005]-[ 1.5 KB]

Executing firmware functions from within CP/M 2.1 or C/PM+[highlighted]-[original][27-February-2005]-[ 2.4 KB]

### source - firmware

Catalog a disc and retrieve a directory listing[highlighted]-[original][27-February-2005]-[ 3.1 KB]

Loading a file[highlighted]-[original][27-February-2005]-[ 1.7 KB]

Saving a file[highlighted]-[original][27-February-2005]-[ 1.5 KB]

Calling a RSX from outside of BASIC[highlighted]-[original][27-February-2005]-[ 3.1 KB]

Reading a sector from a disc[highlighted]-[original][27-February-2005]-[ 2.0 KB]

Writing a sector to disc[highlighted]-[original][27-February-2005]-[ 2.2 KB]

Formatting a track on a disc[highlighted]-[original][27-February-2005]-[ 2.2 KB]

An example to define a RSX[highlighted]-[original][27-February-2005]-[ 2.2 KB]

An example loader[highlighted]-[original][27-February-2005]-[ 5.7 KB]

Dumping the data of the lower rom (operating system)[highlighted]-[original][27-February-2005]-[ 1.3 KB]

Dumping the data of BASIC or AMSDOS or an expansion rom[highlighted]-[original][27-February-2005]-[ 1.8 KB]

A simple disc copier using BDOS functions[highlighted]-[original][27-February-2005]-[14.8 KB]

A simple disc formatter using BDOS functions[highlighted]-[original][27-February-2005]-[ 5.6 KB]

A simple file copier using firmware functions (copies byte-by-byte)[highlighted]-[original][27-February-2005]-[ 2.6 KB]

Reading and writing the boot sector of a SYSTEM/VENDOR disc[highlighted]-[original][27-February-2005]-[ 2.3 KB]

An example boot sector (executed with |CPM)[highlighted]-[original][27-February-2005]-[ 1.2 KB]

An example to write a file byte-by-byte[highlighted]-[original][27-February-2005]-[ 1.4 KB]

An example to read a file byte-by-byte[highlighted]-[original][27-February-2005]-[ 1.5 KB]

Plotting a sprite using character matrices[highlighted]-[original][27-February-2005]-[ 6.5 KB]

### source - general

Scanning the keyboard and joysticks[highlighted]-[original][27-February-2005]-[ 3.0 KB]

### source - generated

### source - hack

Loading a file[highlighted]-[original][27-February-2005]-[ 4.1 KB]

Saving a file[highlighted]-[original][27-February-2005]-[ 3.6 KB]

### source - hardware

Detecting a Amstrad or Vortex floppy disc controller[highlighted]-[original][27-February-2005]-[ 4.0 KB]

### source - hardware - crtc

Distorting the screen using register 2 of the CRTC (Horizontal Sync Position)[highlighted]-[original][27-February-2005]-[ 3.7 KB]

Hardware scrolling the screen using the CRTC[highlighted]-[original][27-February-2005]-[ 5.7 KB]

Hardware scrolling the screen horizontally byte-by-byte using the CRTC[highlighted]-[original][27-February-2005]-[ 4.8 KB]

### source - multiface2

Dumping the Multiface 2 ROM data[highlighted]-[original][27-February-2005]-[ 4.4 KB]

### source - overscan

Overscan Example 1[highlighted]-[original][27-February-2005]-[ 2.6 KB]

### source - raster

Simple Raster Example 1[highlighted]-[original][27-February-2005]-[ 3.2 KB]

Simple Raster Example 2 (uses CPC+ features)[highlighted]-[original][27-February-2005]-[ 3.7 KB]

Simple Raster Example 3 (uses CPC+ features)[highlighted]-[original][27-February-2005]-[ 3.0 KB]

Simple Split Raster Example 1[highlighted]-[original][27-February-2005]-[ 4.6 KB]

### source - split

Example vertical-split/rupture[highlighted]-[original][27-February-2005]-[17.8 KB]

### source - test

### source - test - asic

Source to show the interrupt clear bug of the CPC+ ASIC[highlighted]-[original][27-February-2005]-[ 3.2 KB]

### source - test - kccompact

Reprogramming the Z8536 CIO of the KC Compact to interrupt every scan-line[highlighted]-[original][27-February-2005]-[ 1.8 KB]

### source - test - psg

Source code to show that some registers always return 0 in some bits[highlighted]-[original][27-February-2005]-[ 3.5 KB]

Source code to show it is possible to store data in PSG register 14 and 15 (port A and port B)[highlighted]-[original][27-February-2005]-[ 5.0 KB]

Source code to show it is possible to store data in PSG register 14 and 15 even if the port has been set to input[highlighted]-[original][27-February-2005]-[ 6.0 KB]

Source code to show that when a port is read in output mode; the data read will be ANDed with the inputs to that port[highlighted]-[original][27-February-2005]-[ 5.6 KB]

Source code to show 0x0ff is always returned when reading PSG port B[highlighted]-[original][27-February-2005]-[ 4.1 KB]

### source - test - z80

Source code to show how to use Z80 Interrupt mode 2 (IM 2) on the CPC and KC Compact[highlighted]-[original][27-February-2005]-[ 3.5 KB]

Source code to show how to use Z80 Interrupt mode 2 (IM 2) on the CPC+[highlighted]-[original][27-February-2005]-[ 3.4 KB]

### source - z80

A procedure to display a 8-bit number as binary[highlighted]-[original][27-February-2005]-[ 869 bytes]

A procedure to display a 8-bit number as hex[highlighted]-[original][27-February-2005]-[ 1.0 KB]

A procedure to display a 8-bit number as decimal[highlighted]-[original][27-February-2005]-[ 2.3 KB]

Filling memory with a byte[highlighted]-[original][27-February-2005]-[ 1.1 KB]