Commit Graph

267 Commits

Author SHA1 Message Date
lkestel
1c22264669 Make internal video look like a grf device so that desktop and X can use
it.  GRFIOCMAP modifies addr to include the offset into the screen where
the first pixel is.  Not a very clean way to do it -- we should add a
field to grfinfo for offset.
1994-07-31 08:32:47 +00:00
lkestel
46bfdab4f8 Removed two useless variables. (hole_start, hole_end) 1994-07-31 08:28:32 +00:00
lkestel
ab2bb871e3 Added support for MACHINE_NONCONTIG for IIsi and IIci machines. Similar
to i386's, but more flexible to handle awkward MacOS maps.  pmap_collect()
is noop'ed out for now.
1994-07-31 08:27:38 +00:00
lkestel
a1dd8b3bd3 Added get_physical() to get physical address from logical address according
to MMU; get_mapping() to figure out how RAM and NuBus space is mapped;
remap_kernel() to remap the kernel page tables in case they were split
across memory banks; remap_nubus() to map internal video into NuBus space
where MacOS had it; and remap_MMU() to call the above.
1994-07-31 08:22:31 +00:00
lkestel
f81b696a46 Added get_pte() routine to get a pte from a logical address using ptest.
Cleaned up startup code in a big way.  Now calling get_mapping() if
'030 and MMU is on, and post-processing our page tables with remap_MMU().
1994-07-31 08:19:46 +00:00
lkestel
f6e6044227 Make GENERIC be MACHINE_NONCONTIG. 1994-07-31 07:31:45 +00:00
lkestel
82dcea7759 Fixed bug with bcopy()'ing more than 65535 bytes; initialize d_ttys and cn_tp
on itecnprobe(); other minor bug and warning fixes.
1994-07-31 06:45:50 +00:00
lkestel
faf8faf32f Added a few macros for keys; cleaned up; only define key array
ifdef KEYBOARD_ARRAY, else just declare it.
1994-07-31 06:33:41 +00:00
lkestel
ce200f2f92 Different pa_index() ifdef MACHINE_NONCONTIG. 1994-07-31 06:26:34 +00:00
lkestel
f3c8dbbd87 Moved adbsys.h grfioctl.h and keyboard.h to include to make desktop
and X compile more cleanly.
1994-07-30 04:21:58 +00:00
mycroft
639939abca Clean up deleted files. 1994-07-30 04:21:48 +00:00
lkestel
774ef66058 Moved adbsys.h grfioctl.h and keyboard.h to include to make desktop
and X compile more cleanly.
1994-07-30 04:21:42 +00:00
grantham
cf1aabfe57 Use values from Booter to initialize time correctly for machines
without readable PRAM.  (IIvx users should be pleased.)
1994-07-29 00:52:18 +00:00
briggs
19eaee7cf2 if DDB -> ifdef DDB to be consistent at suggestion from Steve Allen
(wormey@eskimo.com).
Also cleaned up the comments a bit for consinit().
1994-07-25 00:34:30 +00:00
mycroft
1b935ff541 Clean up deleted files. 1994-07-24 01:23:20 +00:00
lkestel
a185489f80 Fixed a few bugs in the key-repeat function and disabled key-repeat
when /dev/adb is closed to avoid infinite repeat problem.  Brad claims
that he's got this solved in his version...
1994-07-21 06:36:51 +00:00
lkestel
020b962ae6 Added vt100 emulation and sped up text writing, scrolling, etc. 1994-07-21 06:35:49 +00:00
briggs
f954a7b0dd Make "unknown ioctl" printf ifdef DEBUG and take out an extra comma from
the format string.
1994-07-21 03:32:07 +00:00
briggs
47b43066ee Take -nostdinc out of INCLUDES so we can get nlist.h and a.out.h for DDB. 1994-07-21 01:49:08 +00:00
briggs
cc7e76a9a5 Put in a warning message that the driver is non-working and checkpoint
with a little bit more debugging stuffage.
1994-07-21 01:33:29 +00:00
briggs
1730b405b5 Make ALLEN a copy of GENERIC. Disable FPSP in GENERIC. 1994-07-21 01:19:41 +00:00
briggs
2ff67c7db9 Add asc as a device. Format a tad. 1994-07-21 01:00:58 +00:00
briggs
c35fccac8b Add asc0. 1994-07-21 00:59:56 +00:00
briggs
fe27023f3b Put FPSP in SYSTEM_OBJS (missed this earlier, apparently, twice). 1994-07-21 00:58:28 +00:00
briggs
46cebf15df Enable DDB, CD9660, NULLFS. Add bpfilter. Slight cleanup. 1994-07-21 00:57:33 +00:00
briggs
3a72d09550 No longer need/use root_scsi_id. Change audio to asc in probe. 1994-07-21 00:55:49 +00:00
briggs
bd55a39b1d Add ASCBase to offsets initialized in setmachdep(). Change comment for
cpu_model (slightly).
1994-07-21 00:55:07 +00:00
briggs
db146ec64c Separate init from serattach and make more machine independent by
calculating speed during init (different models of macs feed SCC with
different clocks).
1994-07-21 00:52:47 +00:00
briggs
60dc2edc69 Make this into more of a device so it can be probed and attached. Nuke
RCS/CVS Log.  Make ASCBase an offset instead of an absolute.
1994-07-21 00:44:00 +00:00
briggs
8fc0b8b26e Add a field for cpu-dependent structure to flag if SONIC is on-board. 1994-07-21 00:33:54 +00:00
briggs
5ec3485979 Be somewhat better at machine dependence, clean up a hair, and get rid
of addupc.
1994-07-10 16:58:05 +00:00
briggs
f8d560f187 Be somewhat better at machine dependence. 1994-07-10 16:55:53 +00:00
briggs
cacf1a1b0a Cleanup a printf, raise the probe timeout, and notice if the probe
does time out.
1994-07-09 17:21:13 +00:00
briggs
a933ab5ed1 Some cleanup and get rid of some compiler warnings. Needs more work. 1994-07-09 07:28:22 +00:00
briggs
2ff5938343 Minor hacks to get this to compile for now. ite.c now uses the proper
consdev structure to keep itself from crashing...
1994-07-09 06:49:34 +00:00
briggs
6cd891192f Move a function here from the old console.c. 1994-07-09 06:38:55 +00:00
briggs
3266a82b9f Switch to using sys/dev/cons.? instead of old hp-derived generic console. 1994-07-09 06:36:11 +00:00
briggs
687c7563fe Comment out macserinit and macinit until we can replace them. They're
for debugging before we have an initialized console, primarily.
1994-07-09 06:33:46 +00:00
briggs
0979a3d7ef Add some macros for new adb stuff from Brad Grantham. 1994-07-09 06:32:12 +00:00
briggs
d3bc60c2c5 Add ite0. 1994-07-09 06:28:16 +00:00
briggs
eaca1c00bb Rearrange to alphabetize some. Nuke old console, add new console and
ADB code from Lawrence and Brad.
1994-07-09 06:27:53 +00:00
briggs
2bb2aa0788 Nuke pseudo-device con. 1994-07-09 06:26:24 +00:00
briggs
4b3d50f976 Oops... Forgot to check in w/ FPSP support. 1994-07-08 11:47:10 +00:00
briggs
8afa3a3b98 Just a checkpoint. Still not close to working, but TUR works--more docs
coming today...
1994-07-08 11:38:48 +00:00
briggs
c99467f6d1 Add a constant for masking off the scsi phase from the status register. 1994-07-08 11:36:59 +00:00
lkestel
e934f668f1 autoconf.c: added ite.
conf.c: added ite and adb.
cons.c: replaced mac* functions with itecn* functions.
machdep.c: ditto.
1994-07-08 07:57:48 +00:00
lkestel
29f12f9bc6 6x10.h: shifted font over by two pixels.
keyboard.h: added constants for commonly used keys and reformatted
  array so that gcc would be happy.
adbsys.c: new adb system.
bounds.h: bound-checking macros.
ite.c: new built-in mini-console.
8x14.h: no longer used by built-in console.
adb.c: replaced by adbsys.c
1994-07-08 07:55:46 +00:00
briggs
ebefb5b706 Whoops. Forgot to make rei globl in this copy. 1994-07-07 01:46:44 +00:00
briggs
938fc1f67d Apparently the registers for the NCR 53c96 in the mac are laid out
the same as they arefor the 5380--15 bytes of padding between each
reg.  Define a structure for that here, now.
1994-07-07 00:29:37 +00:00
briggs
f310747381 Cast vmmap in call to pmap_enter() to satisfy compiler. 1994-07-07 00:28:14 +00:00