Commit Graph

339 Commits

Author SHA1 Message Date
leo c1381aa33f Document some more interesting options. 1996-05-14 10:21:48 +00:00
leo 1dd829a703 Update to make this work correctly when using an obj-directory. 1996-05-14 10:16:13 +00:00
mycroft 540f9550c0 Make `make depend' work for libraries. 1996-05-11 16:11:30 +00:00
leo b926918576 There seem to be 2 types for a trap frame.... 1996-04-29 20:55:44 +00:00
leo b26b45a14d Corrections for removed <sys/cpu.h> and some more prototypes. 1996-04-26 06:59:15 +00:00
leo 7f0e5ecf77 - Fixup the ipending function for the Falcon. This seemed to be the source
of a lot of instability problems on the Falcon. I also enabled DMA on
  interrupt basis for the Falcon.
- Try to handle targets that request too much data more sanely.
- Some fixups for strict prototypes + -Wall

Thanks to Markus Kilbinger for providing the debugging support.
1996-04-26 06:50:12 +00:00
leo df8c6afda1 Ignore joystick packages when running in 3b. emulation mode. 1996-04-23 11:02:01 +00:00
leo 18dd6b0909 Prototypes. 1996-04-19 20:35:31 +00:00
leo f4e4aeed3c Check for curproc being NULL in pmap_remove(). 1996-04-19 20:33:01 +00:00
leo b3fadef7e0 Yet more prototyping and -Wall fixes. 1996-04-18 08:51:11 +00:00
leo 6e40f439fc Part of restructuring done for 3-button mouse support. 1996-04-12 19:55:28 +00:00
leo 658385632c Prototyping. 1996-04-12 09:05:14 +00:00
leo e7ad591a96 misc.c ->stalloc.c 1996-04-12 08:57:43 +00:00
leo 7a18bb9542 Just give them more descriptive names. 1996-04-12 08:46:44 +00:00
leo 9402dcae81 Add 3-button mouse support. 1996-04-12 08:39:22 +00:00
leo e4a9d09efb Add 3-button mouse support. 1996-04-12 08:37:03 +00:00
cgd 83f9bdc359 update for the fact that config_found() and config_rootfound() now
return pointers.  (Check vs. NULL, rather than just boolean tests.)
1996-04-04 06:25:00 +00:00
christos 933d138841 Change %r -> %: as for recursive printf's 1996-03-30 21:01:21 +00:00
leo 4f5cc6fac1 Drop in a more interlligent version check. 1996-03-28 21:53:35 +00:00
leo ccde176c63 Small nits because of changes in ym2149 handling. 1996-03-27 12:15:28 +00:00
leo 202c5712f6 - Add printer device
- Add ym2149 files
- Make ramdisk a pseudo-device
1996-03-27 10:31:09 +00:00
leo 28e46e648f Add centronics printer driver. 1996-03-27 10:20:44 +00:00
leo 8526e9844c Allow call-back functions to drop to spl0(). 1996-03-27 10:16:04 +00:00
leo 72e826cbd4 Remove rd_match_hook(). 1996-03-27 10:13:09 +00:00
leo c5a7f4e977 Take out direct access to the YM2149. The chip definitions are moved
from video.h to ym2149reg.h.
1996-03-27 10:07:45 +00:00
leo 634f5ade49 Correct #ifdef that survived the after-debug cleanup (Thanks Chris). 1996-03-22 09:07:03 +00:00
leo 8106a55133 And more proto's..... 1996-03-20 13:11:56 +00:00
leo e0aeb3dc13 Another bit of prototyping... 1996-03-20 12:41:30 +00:00
leo 083fa0d1b9 Belongs to the last changes made to the ??boot/??boot.s files I did
yesterday.
1996-03-20 08:23:35 +00:00
leo 7b7df70d77 Fix typo in neew config changes. 1996-03-20 08:17:48 +00:00
leo 414369f5c6 Use the right cd-names. 1996-03-19 13:16:47 +00:00
leo 38432e7448 Debugger() prototype is in systm.h, don't define Debugger() here. 1996-03-19 13:15:34 +00:00
leo 39a234873d Build the 'stand' directory. 1996-03-18 21:08:36 +00:00
leo d36f15a208 Take care of the case that <start_of_video> < <memtop> 1996-03-18 21:06:19 +00:00
cgd 94907fa254 adjust to deal with expression support for optional file specs 1996-03-17 13:21:09 +00:00
thorpej 82d914d090 New device attachment scheme:
- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.
1996-03-17 01:26:49 +00:00
thorpej 5c67e5fad9 New device attachment scheme:
- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.
1996-03-17 01:16:48 +00:00
leo 55b65fb49a Switch to the mi ramdisk driver. 1996-03-14 21:41:04 +00:00
christos ab0e60a42f fdopen -> filedescopen 1996-03-14 21:20:59 +00:00
leo 2273338717 Add the include files and the atari kernel support for new format panic
dumps.
1996-03-10 21:54:44 +00:00
leo 7da79507e9 Take the type of the attached monitor into account when selecting a
display-mode. Includes hack to make things work on non-VGA monitors.
1996-03-10 11:42:35 +00:00
leo 77e4824146 Just prototyping. 1996-03-08 21:54:53 +00:00
leo a91a46bc0f When having a perfect match on the resolution, try to match the screen
depth as best we can.
1996-03-08 21:52:50 +00:00
leo bb2b6106da Fix a bug in the DCD handling. Because the state of the DCD line was
kept in a soft-copy that wasn't initialized on open, it sometimes happend
that a change of the carrier got lost. Also fixed some prototypes.
1996-03-08 21:50:40 +00:00
leo 957e1c5c7d Use files.scsi 1996-03-06 14:47:44 +00:00
cgd 18ec26aa21 add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,
execpt without quotes.  meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
1996-03-04 05:04:10 +00:00
cgd 1c5d7babe5 Clean up tabbing/spacing in defns of MACHINE, MACHINE_ARCH, and MID_MACHINE. 1996-03-01 23:30:08 +00:00
cgd 3d67685d36 Do not build vnode_if.[ch] for each kernel. Build them once, like the
various syscall sources/headers, and just compile them.  From PR 2142, OK'd
by mycroft.
1996-02-29 20:54:58 +00:00
leo e800077389 Added to build the bootloader stuff. 1996-02-29 11:41:31 +00:00
leo 48f5b02304 NetBSD/Atari bootcode by Waldi Ravens. 1996-02-29 11:35:46 +00:00
leo e538eed242 NetBSD/Atari bootcode by Waldi Ravens. 1996-02-29 11:35:05 +00:00
mycroft 2ce52ae489 Define build programs with `?=', so they can be overridden with `makeoptions'. 1996-02-26 02:53:20 +00:00
leo db7d722c4b A bit of reshuffling. Also some stricter prototyping. 1996-02-22 21:07:05 +00:00
leo c9dfd5cb44 First bunch of changes due to stricter prototype checking. 1996-02-22 10:10:44 +00:00
leo dc321cad51 New disklabel handling code (Waldi Ravens).
These are the final (?) modifications to the layout of the NetBSD/Atari
bootblock. The bootblock handling can be made backwards compatible using
the right config options (COMPAT_11 + DISKLABEL_AHDI).
1996-02-19 09:05:31 +00:00
leo 7992289e54 Fix unterminated comment. 1996-02-14 08:10:51 +00:00
leo 2708c1593e Oops, should have been updated in conjunction with ncr5380.c . 1996-02-14 08:09:47 +00:00
leo 35d120d71d Some extra range-tests on the RTC values. 1996-02-11 12:42:19 +00:00
leo 2bbdc4b9c7 Be a bit more carefull when accessing the proc structure on a kernel buserror. 1996-02-11 12:41:25 +00:00
leo 8d7918526b Various small fixes. 1996-02-10 22:10:45 +00:00
leo 063216ccfd Remove reference to setjmp.h 1996-02-09 20:53:59 +00:00
leo 89bbb8b2fb Catchup with the future. 1996-02-09 20:52:04 +00:00
mycroft 753fe3a25a Fix mkdep problems due to missing flags. 1996-02-09 02:21:13 +00:00
christos 2c8314f73c vm prototype changes 1996-02-05 02:06:38 +00:00
mycroft 5bc076e17e Use `-traditional-cpp' when building .s and .S files. 1996-02-03 00:43:50 +00:00
mycroft dcd66e9f4d Clone these, and fix many bugs. 1996-02-02 20:08:17 +00:00
mycroft 9db20bf150 Don't define _KERNEL here. 1996-02-02 19:42:08 +00:00
mycroft 9d9a70a5a2 Fix #includes. 1996-02-02 18:05:36 +00:00
mycroft fc9d84fb46 assym.s -> assym.h
(Some ports did this already.)
1996-02-02 02:34:09 +00:00
mycroft 88e512b693 LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
gwr c2c1c1b11a Move struct definitions to MD code. 1996-01-24 19:21:40 +00:00
leo ae2b8aaf1f STANDALONE -> TOSTOOLS 1996-01-23 20:34:07 +00:00
leo 1481622cdb Fixes 'hanging' problem when closing a serial port. 1996-01-23 09:35:15 +00:00
leo 88a221b7fb BBSIZE -> BBMINSIZE 1996-01-20 13:54:46 +00:00
leo 567396ea78 Use symbolic constants for ATARI_ANYCPU instead of dropping in a hex-value. 1996-01-19 13:54:12 +00:00
leo a946c7f421 Special handling for 2 and 4 byte sized transfers. The makes accessing
device registers work in a sane way. (gwr)
1996-01-19 13:51:11 +00:00
leo 58758809e5 - Remove FPU defines, the FPU-type is no longer determined by the loader.
- Add some forgotten CPU-types (Waldi Ravens).
1996-01-19 13:46:56 +00:00
leo cb560ce386 Move things around a bit to make all names fit into the [8.3] namespace
of msdosfs.
1996-01-16 15:14:53 +00:00
thorpej 57219ebad3 Remove vnode_if.[ch] during a "make clean", per PR#536 from
Dan Carosone <danielce@ee.mu.oz.au>.
1996-01-14 21:06:47 +00:00
leo 9186c7668f The changes frpm Paul Goyette with respect to the driver trace require
DBG_PID to be defined to an interger value....make it so.
1996-01-14 13:06:37 +00:00
leo 485b90b6f1 Fix the same typo in all files. Yanking is soooo beautiful.... 1996-01-09 09:55:06 +00:00
leo 7ab5688547 Remove a stray MAXPARTITIONS definition. 1996-01-07 22:30:41 +00:00
leo 783817cc8b Part of the tostools reorganization. All directories now contain a Makefile
and the user interface to the various tools has been standarized.
1996-01-07 22:05:31 +00:00
thorpej 5b39541e48 New generic disk framework. Highlights:
- New metrics handling.  Metrics are now kept in the new
	  `struct disk'.  Busy time is now stored as a timeval, and
	  transfer count in bytes.

	- Storage for disklabels is now dynamically allocated, so that
	  the size of the disk structure is not machine-dependent.

	- Several new functions for attaching and detaching disks, and
	  handling metrics calculation.

Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.

For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00
leo 94bf233ae9 Atari partion table checker. Checks the validity of AHDI and/or NetBSD/Atari
partition tables. (Waldi Ravens)
1996-01-07 21:54:15 +00:00
leo b24ea33cac Common library for all tostools. (Waldi Ravens and myself) 1996-01-07 21:50:49 +00:00
leo 125fcfc979 These files can now be found in tostools. 1996-01-07 21:10:37 +00:00
leo aadb005f6a Reorganization of the stand-directory. All tools that are TOS specific and
can (probably) only be compiled under TOS are now being grouped in the
sub-directory 'tostools'.
1996-01-07 20:57:03 +00:00
leo 57a3b5b00c Keep more debugging history (Paul Goyette). Synced with mac68k version. 1996-01-06 20:17:15 +00:00
leo 356a61ab95 Add an nvram-driver. This driver makes it possible to read/write the
configuration info stored in the nvram on the mc146818.
1996-01-06 20:10:41 +00:00
jtc 2fce159ff8 Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
traditional usage.
1996-01-04 22:21:33 +00:00
leo c8574c59f7 Allow selection of Falcon (videl) video modes other than the mode selected
on startup (Thomas Gerner).
1996-01-02 20:59:20 +00:00
leo b46db7160c - Remove an unwanted interference between the 2 channels.
- Allocate the ringbuffer on a channel's first open.
1995-12-25 14:16:50 +00:00
leo 608b4cc605 Fix possible integer overflow when allocating PT map. 1995-12-25 14:13:53 +00:00
leo 7682dd538b Add doshutdownhooks 1995-12-25 14:09:13 +00:00
mycroft ce000f04ef Remove deprecated cpu_setstack(). 1995-12-21 05:01:32 +00:00
leo ea5c7dd80d Oops, forgot to change one fixed address into a define. 1995-12-18 20:40:59 +00:00
leo 1e5442c0ba Fixes for devices that don't support linked commands. (Paul Goyette) 1995-12-18 20:37:51 +00:00
leo 64f1b42bb4 Correct PCLK value. 1995-12-16 21:45:31 +00:00
leo 987f8774c3 Make an NMI activate the debugger. This only works on a TT and needs a small
hardware patch. This makes it easier to debug drivers that hang on an ipl
> splsoft.
1995-12-16 21:40:28 +00:00