source: buchla-68k/orig/DOC/BIOS700.TXT@ 7bf3856

Last change on this file since 7bf3856 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Imported original source code.

  • Property mode set to 100755
File size: 1.8 KB
RevLine 
[3ae31e9]1Buchla 700 BIOS (trap13) Calls
2------------------------------
3
4 int
5 BIOS(B_RDAV, unit)
6 int unit;
7
8 int
9 BIOS(B_GETC, unit)
10 int unit;
11
12 BIOS(B_PUTC, unit, c)
13 int unit, c;
14
15 long
16 BIOS(B_RDWR, rwflag, buf, count, recno, dev)
17 int rwflag;
18 char *buf;
19 int count, recno, dev;
20
21 long
22 BIOS(B_SETV, vecnum, vecadr)
23 int vecnum;
24 long vecadr;
25
26 struct bpb *
27 BIOS(B_GBPB, dev)
28 int dev;
29
30 long
31 BIOS(B_THRE, unit)
32 int unit;
33
34 long
35 BIOS(B_MCHG, dev)
36 int dev;
37
38 long
39 BIOS(B_DMAP)
40
41Logical Units
42-------------
43
44 PRT_DEV 0 Serial-1
45 AUX_DEV 1 Serial-2
46 CON_DEV 2 Serial-2
47 MC1_DEV 3 MIDI-1
48 MC2_DEV 4 MIDI-2
49
50rwflag values for B_RDWR
51
52 0 = read, 1 = write, check media for change
53 2 = read, 3 = write, no media change check
54
55
56Buchla 700 XBIOS (trap14) Calls
57-------------------------------
58
59 struct iorec *
60 XBIOS(X_PIOREC, unit)
61 int unit;
62
63 XBIOS(X_SETPRT, unit, mode, baud, cfr0, cfr1)
64 int unit, mode, baud, cfr0, cfr1;
65
66 int
67 XBIOS(X_FLOPRD, buf, filler, dev, sector, track, side, count)
68 char *buf;
69 long filler;
70 int dev, sector, track, side, count;
71
72 int
73 XBIOS(X_FLOPWR, buf, filler, dev, sector, track, side, count)
74 char *buf;
75 long filler;
76 int dev, sector, track, side, count;
77
78 int
79 XBIOS(X_FORMAT, buf, filler, dev, spt, track, side, intrlv, magic, virgin)
80 char *buf;
81 long filler;
82 int dev, spt, track, side, intrlv, virgin;
83 long magic; /* must be 0x87654321 */
84
85 int
86 XBIOS(X_VERIFY, buf, filler, dev, sector, track, side, count)
87 int buf[512];
88 long filler;
89 int dev, sector, track, side, count;
90
91 int
92 XBIOS(X_PRBOOT, buf, serial, type, execflag)
93 char *buf;
94 long serial;
95 int type, execflag;
96
97 long
98 XBIOS(X_RANDOM)
99
100type values for X_PRBOOT
101
102 0 = 40 tracks, single sided 1 = 40 tracks, double sided
103 2 = 80 tracks, single sided 3 = 80 tracks, double sided
Note: See TracBrowser for help on using the repository browser.