NewsProductsSprinterSupportDownloadSprinter ForumAbout usLinksSite map Russian site

English
   >> Software programming for the computer Sprinter
Thread views: 97 View all threadsNext thread*

Alex_GoryachevAdministrator
(Sprinter Team)
2002/09/25 15:54
BIOS 3.00: updated functions Reply to this post

There are several updated functions in BIOS 3.00 (published in 10 of April,
2002).


0F2h (242) FN_SYNC=0 Set a synchronization

input:

C=0F2h
A - mode of the synchronization

A=0 default
A=1 Scorpion mode - 312 lines; INT synchronized with Scorpion 256
A=2 Pentagon mode - 320 lines; INT synchronized with Pentagon 128
A=3 ZX Spectrum +2 mode - 312 lines; INT synchronized with ZX Spectrum +2

output:

CF=1 - error - incorrect number of the synchronization


08Fh (143) FN_TURBO Turbo mode control.

input:

C=08Fh
A - 2 - turbo off
3 - turbo on
12h - 720 floppy disk
13h - 1.44 floppy disk

output:

CF=1 - error - incorrect mode

0A4h (164) PIC_SET_PAL Set the palettes

input:

C=0A4h
HL - buffer with palette data
E - number of first replaced colour
D - count of colours for replacing
B - mask (#FF for not masking)
A - 0..3 bits:
- 0..7 - number of palette
- 8..15 - reserved
- 4..6 bits - reserved (value = 0)
- 7 bit:
- 0 - set palette
- 1 - load palette into the memory


output:

none


0A6h (166) SET_PAL_INIT Set the internal palette

input:

C=0A6h
A - page of palette
B - number of palette:

B=1 - palette of graphic screens
B=2 - palette of Spectrum screen
B=3 - palette of CGA text screen

output:

CF=1 - wrong number of palette





---
PETERS PLUS LTD

Edited by
Alex_Goryachev on 2002/09/26 12:16.



Jump to