leo
8dff161947
Make sure that the motor will be turned off when a floppy is inserted.
1995-12-10 14:25:12 +00:00
mycroft
0e0ac5ed68
cpu_fork() now returns void.
1995-12-09 04:37:23 +00:00
leo
fc587cf917
Something forgotten in the namespace changes.
1995-12-03 14:34:24 +00:00
leo
70875fa68f
Return a more sensible errno when someone is trying to set the unsupported
...
mdmbuf option.
1995-12-03 14:32:39 +00:00
leo
5f2ab2109f
Use files.fpe
1995-12-01 19:53:07 +00:00
leo
ca1cc64e20
Remove forgotten #endif
1995-12-01 19:51:53 +00:00
leo
e267646321
KNF-ify
1995-11-30 21:55:01 +00:00
leo
291d8cbf3a
Add kernel option for separate {stat,prof}clock
1995-11-30 21:52:46 +00:00
jtc
0cd793449e
merge in changes from 1.1 release branch
1995-11-30 00:56:23 +00:00
leo
3b8542c63a
The Falcon needs a delay after writing the dma_data register (Thomas Gerner)
1995-11-06 21:13:38 +00:00
leo
ebc6d5a705
Use general bound-check function.
1995-10-14 20:17:46 +00:00
leo
79053fd0de
Allow only transfers that are a multiple of DEV_BSIZE when doing 'raw' I/O.
1995-10-14 13:04:19 +00:00
leo
0e5fe20560
- Cleanup the arbitration
...
- Make sure the MON_BUSY flag is cleared after a DMA transfer. Otherwise
we might end up with a 'lost-busy' situation unexpectedly. This will
prevent the 5380 from driving the bus, which is not funny during
reselections.
1995-10-08 13:34:23 +00:00
mycroft
245f292fed
Prefix names of system call implementation functions with `sys_'.
1995-10-07 06:25:19 +00:00
leo
7d3bc89420
Get in sync with the mac68k version to incorporate Allen Briggs' changes
...
- emit MSG_ABORT/MSG_REJECT at the right times:
- make MIN_PHYS machine dependent.
1995-10-05 08:52:53 +00:00
leo
1c107bd3e6
Add CD9660 option.
1995-09-30 12:48:12 +00:00
leo
44561deb01
Add support for the FX-card - Falcon mem. extension - (Nat!)
1995-09-23 20:31:21 +00:00
leo
7af927b56d
Make sure the prototypes and inline definitions are included.
1995-09-23 20:29:16 +00:00
leo
afea10f476
Correct mapping for new (iso-8859-1) fontsets (Thomas Gerner).
1995-09-23 20:27:15 +00:00
leo
f28a41635b
Make them compliant to iso-8859-1 (Thomas Gerner).
1995-09-23 20:25:34 +00:00
leo
c150cc4d37
PROF -> GPROF
1995-09-23 20:23:28 +00:00
leo
e44fc4282e
Use -msoft-float as suggested by Gordon Ross.
1995-09-23 20:22:01 +00:00
thorpej
2d61359f60
Compile the kernel with -Werror and -fno-builtin.
1995-09-19 23:33:12 +00:00
thorpej
7d7396c414
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 22:53:47 +00:00
leo
dff8e2275e
Fix segment table reference bug (Michael Hitch)
1995-09-16 14:18:09 +00:00
leo
a2a0fe9c66
- Handle devices that do not support identify messages (Allen Briggs)
...
- Add pdma_ready() hook (Allen Briggs)
- Increase timeout to 1000 (Matthias Pfaller)
1995-09-16 14:15:10 +00:00
leo
e34d65cb12
- Fix a timing bug in the loop, that was introduced in the previous version.
...
- Added some code to reject unsupported messages correctly.
1995-09-12 19:58:53 +00:00
leo
7640742d5b
Fix possibly endless loop (mycroft) and add fix requested by Allen Briggs.
1995-09-05 07:02:21 +00:00
leo
eb9d1db57a
Right align color values in the bytes.
1995-09-04 19:41:39 +00:00
leo
eee0dbbda7
Allow chars > 0x7f to be displayed on the ite's
1995-09-04 19:39:21 +00:00
leo
75dfa4a054
Add memcpy entry as suggested by gwr.
1995-09-04 19:37:45 +00:00
leo
4eb595b1d2
Fix missing clock-ticks in child after fork as suggested by cgd & Allan Briggs.
1995-09-02 19:44:45 +00:00
mycroft
29053c58b2
SA_ONSTACK --> SS_ONSTACK
1995-09-01 20:05:59 +00:00
leo
33a26fbd65
Remove FPU detection and report on stdout instead of stderr.
1995-08-29 20:35:15 +00:00
leo
8f5551f5fd
Fix rule for manual page.
1995-08-29 20:26:39 +00:00
leo
bd699fca29
Fix typo in previous commit
1995-08-28 20:07:04 +00:00
leo
dd73a31ed8
Detect type and precence of an FPU in the kernel instead of relying on GEM.
1995-08-28 19:31:06 +00:00
leo
9c9abeb6c3
Add Falcon video support. Thanks to Thomas Gerner.
1995-08-20 18:17:09 +00:00
leo
34e65502e7
- make sure that there is 1 pending software interrupt max.
...
- read status before character, so the status won't be lost (Thomas Gerner)
- accumulate as much interrupts as possible in zshard()
1995-08-20 13:28:10 +00:00
leo
6b9a15416a
- Add 'restbyte' handling for TT.
...
- Don't _ever_ do DMA for less than 512 bytes on the Falcon
- Fix bug in autosense-handling. Now asks for the correct number of bytes.
Now it won't read ghost bytes on the tape anymore.
- Add missing braces as suggested by Matthias Pfaller
- Make it possible to debug requests on a specified number of targets
- Add debug option to show only transaction with error code != 0
1995-08-19 12:36:21 +00:00
leo
db846246ba
Add video registers and other defines for Falcon video.
1995-08-17 20:34:04 +00:00
leo
44d433786d
Remove 2 wrong proto-types.
1995-08-17 20:32:50 +00:00
leo
a1fe704278
Initialize the YM sound-chip to a sane state.
1995-08-17 20:31:31 +00:00
thorpej
66dcd8fd69
Add entries for the ccd.
1995-08-17 17:40:42 +00:00
mycroft
ddd123a7c5
Replace splnet() with splsoftnet(). Add splnet(). Make splimp() > spltty().
1995-08-13 00:21:54 +00:00
mycroft
c5ec5c3003
Add splsoftnet().
1995-08-13 00:03:11 +00:00
mycroft
80d7b0695a
minphys() functions really should return void.
1995-08-12 20:30:45 +00:00
leo
24644e5151
New version of NCR5380-SCSI driver. This version is far more generic than
...
the previous version. The machine dependent part contains the configuration
for both the TT and FALCON. The configuration files have been changed to
select SCSI-support for either TT, Falcon or both.
The configuration file for the Atari-Falcon will only get _really_ usefull
when the Falcon video part is finished.
1995-08-11 20:01:15 +00:00
leo
3f76d2e7eb
Add disklabel support. In addition to the 'faked' disklables NetBSD/Atari
...
now also supports native NetBSD labels. When a NetBSD label is found it
overrules the Atari AHDI-partitioning.
1995-08-05 20:24:16 +00:00
leo
cd73c9f0cb
Add middle button emulation.
1995-07-27 06:35:46 +00:00
leo
2826d4fa30
A forgotten file for the kbdmap fixes.
1995-07-25 13:49:26 +00:00
cgd
ffe4785a58
update SCSI minphys routines' definitions to match standard minphys()
...
definition and usage.
1995-07-24 07:33:32 +00:00
cgd
da9c1b5e48
fix minphys so that it actually works properly
1995-07-24 07:31:45 +00:00
leo
052e19d7fd
Change and fix the way of keyboard mapping. Each virtual console has it's
...
own private keymap, initialized on open from the system-keymap. Both
system and private keymaps are settable.
1995-07-24 05:56:06 +00:00
leo
a4578576c6
Added -f option to reload system-wide keymap (instead of current screen one).
1995-07-24 05:47:48 +00:00
leo
5f98065492
Use the right includes
1995-07-24 05:44:43 +00:00
leo
c6e852a141
The mappings for the german keyboard layout.
1995-07-19 20:45:27 +00:00
leo
14ac72899c
Add pppintr() to netintr().
1995-07-13 21:36:09 +00:00
leo
8e01fc80af
Update raw-io functions as suggested by Charles.
1995-07-12 21:41:03 +00:00
leo
be029faea0
Use -O2
1995-07-11 21:28:38 +00:00
leo
b57f0c784d
Oops, this one is also needed to make dumping work.
1995-07-11 21:27:35 +00:00
leo
c98355931a
Remove some bogus comment.
1995-07-11 21:25:32 +00:00
leo
0343d208c4
Fix pseudo tty's
1995-07-11 21:24:29 +00:00
leo
b87c200b08
- Change character interface as suggested by Charles
...
- HD floppies really have 2 sides ;-)
- Cleanup drive/density selection
1995-07-11 18:32:07 +00:00
leo
2cad659038
Make DD/HD selection do anything sensible.
1995-07-11 18:27:31 +00:00
leo
a5b73613fc
Dumping works, now if there were tools to handle it...
1995-07-11 18:24:57 +00:00
mycroft
7263209ce6
Make each disk and tape driver define its own read and write functions.
...
Deprecate rawread() and rawwrite() completely. Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
leo
d9019191a0
NetBSD/Atari keyboard mappings
1995-07-03 20:49:40 +00:00
cgd
2b71eae2c7
note that most of dev/ic's contents have changed names
1995-06-28 04:30:30 +00:00
cgd
c83f9c5568
remove unused cpu_exec() definitions. moved "broken swap" markers, for
...
ports that still need it, to types.h.
1995-06-28 02:55:18 +00:00
cgd
d4a54b73d2
kill user-land DELAY macro, as suggested by gwr.
1995-06-28 02:43:36 +00:00
leo
abe8c288fb
Sync grf with underlying view on open.
1995-06-26 19:55:45 +00:00
leo
0d1035fa62
Fix thinko. It will now also work when no mouse is configured.
1995-06-26 14:31:27 +00:00
cgd
2d49c3885b
clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
...
dbtob(). remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd
1c0be437b1
define __BDEVSW_DUMP_OLD_TYPE for ports where it's true. clean up
...
some m68k ports inclusion of common header.
1995-06-26 05:13:37 +00:00
leo
4abd54fe69
Mouse driver added.
1995-06-25 19:05:23 +00:00
christos
7f0e620523
Makefile.arch
: - Add -lcompat
...
- Change clean: target to be a double dep one,
so libraries can use the clean target too
- Add genassym to the clean targets
1995-06-24 20:41:28 +00:00
leo
73c861e2e3
Handle mouse and other packages received from the keyboard correctly.
...
The initialisation now resets the keyboard and disables all packages
that make no sense because their drivers are not activated.
1995-06-09 20:00:14 +00:00
leo
91bada6a66
Fix grfmmap()
1995-06-09 19:55:13 +00:00
leo
18e5707a34
Add our own low-level access functions for ddb. This makes sure that
...
the system won't hang when referencing a non-existend page.
1995-06-09 19:53:45 +00:00
leo
9f6e63c66b
Add our own db_memrw.c for ddb.
1995-06-09 19:50:42 +00:00
leo
13af15620a
Show FPU_EMULATE exists
1995-06-09 19:49:27 +00:00
leo
f8c615afc9
Make hardware locations u_char instead of char
1995-06-09 19:47:30 +00:00
leo
2644faf340
Fix thinko
1995-06-09 19:45:42 +00:00
leo
80bf490a56
Support & require MACHINE_NONCONTIG
1995-06-09 19:42:22 +00:00
leo
74d95b443e
Add CLKBROKEN define, so GEM version that are 2 years off on the RTC can
...
be identified.
1995-05-28 21:02:21 +00:00
leo
e4b2ec5091
Add emulator.
1995-05-28 19:58:18 +00:00
leo
1579fb8674
Add HZ=64, remove FPCOPROC.
1995-05-28 19:56:14 +00:00
leo
c21a70ad06
Define a config for the kernel on the boot-floppy. It should be resonably
...
small and boot on both TT and Falcon.
1995-05-28 19:53:48 +00:00
leo
d8cb2b8dfa
According to diffs from Waldi Raven:
...
Make speed/clock-source selection smarter. This makes the baudrates more
accurate and allows speeds upto 115k baud.
1995-05-28 19:50:26 +00:00
leo
27a11d1735
Remove the pointer to view_t from the grf-structure, use viewview(dev)
...
to obtain the pointer instead. This removes a kernel-crash that happened
when something was written to the console while the console was being
resized.
1995-05-28 19:45:36 +00:00
leo
d66ffa3fe1
Use <dev/ic/mc146818.h>. Change systemclock settings. Usable values for
...
HZ are now 48/64/96. This reduces the interrupt overhead, because we
don't need the extra division by 4 in the interrupt handler.
1995-05-28 19:38:49 +00:00
leo
04246ac4f8
Add emulation traps.
1995-05-28 19:33:13 +00:00
leo
b88f1c35c4
Remove FPCOPROC use fputype instead.
1995-05-28 19:31:50 +00:00
leo
896cbdecbf
- Remove FPCOPROC ifdef's. Make fpu code dependant on fputype.
...
- Change clock interrupt handler: remove extra division by 4.
1995-05-28 19:17:54 +00:00
leo
0a93016a82
Define T_FPEMUL? for locore.s
1995-05-28 19:14:30 +00:00
leo
25b59487ea
Add FS_OTHER type partitions to 'user-partitions'
1995-05-28 19:11:51 +00:00
leo
a0f558aed0
Make ST_POOL_SIZE configurable through config.
1995-05-28 19:10:17 +00:00
leo
633db03b5b
Check for a different year-base in the RTC.
1995-05-28 10:56:16 +00:00
leo
631261a801
Set A2 to PS_STRINGS.
1995-05-21 13:55:16 +00:00
leo
a1006d16dd
ite_newsize(): Do not reallocate a display when the actual display mode
...
will be the same. Fixes a nasty bug where ite0 and ite1 share the same
bitmap.
1995-05-21 11:00:13 +00:00
leo
c8ca7ae526
Fix UL-handling
1995-05-21 10:56:54 +00:00
leo
13f71a235d
Add prototype for grf_get_best_mode()
1995-05-21 10:55:57 +00:00
leo
02dd55abb3
- Add grf_get_best_mode()
...
- Only update 'real' colormap when actually displaying
- Fix TT-HIGH video mode
1995-05-21 10:54:44 +00:00
leo
555b2f67be
Minor fixes.
1995-05-21 10:52:18 +00:00
leo
fc0c4cd1b9
Get syscall() code in sync with the rest of the world.
1995-05-21 10:50:41 +00:00
leo
de6e84e901
Fixup free_stmem().
1995-05-21 10:48:53 +00:00
leo
d6b3669598
Remove icode, it doesn't seem to be used.
1995-05-21 10:45:59 +00:00
jtc
f90f8d10aa
Removing -DKERNEL, transition to _KERNEL has been completed
1995-05-16 22:24:17 +00:00
leo
640101f0f8
- Remove double mapping of kernel stack
...
- Change to new coredump format
1995-05-14 19:09:10 +00:00
leo
b78d405c36
Don't mess with SCU on the Falcon.
1995-05-14 15:55:51 +00:00
leo
8360740fdb
Change of function params for Falcon SCSI.
1995-05-14 15:47:17 +00:00
leo
84c03e6058
- Remove race condition from DMA interrupt handler
...
- Add function to get current DMA address for Falcon SCSI.
1995-05-14 15:46:17 +00:00
leo
571c7445e0
Remove double mapping of stack.
1995-05-14 15:44:19 +00:00
leo
1029a77f13
Function proto added.
1995-05-14 15:29:18 +00:00
leo
cf6323d778
Fixup comment.
1995-05-14 15:27:51 +00:00
leo
e2b044e52f
- Remove double mapping of stack
...
- Change to new coredump format
1995-05-14 15:26:55 +00:00
leo
72472e35b1
Remove double mapping of stack
1995-05-14 15:24:35 +00:00
leo
92d594935c
- Remove double mapping of stack
...
- Change to new coredump format
1995-05-14 15:23:30 +00:00
leo
d3e5e6574b
Fix double mapping of stack.
1995-05-14 15:20:22 +00:00
leo
7b03e25bf5
Print proper machine type at startup. Use 'vfs_shutdown' to sync the
...
disks.
1995-05-10 07:07:30 +00:00
leo
9804349e4d
Ignore HBL/VBL interrupts instead of reporting them as stray as they
...
can't be turned off on a Falcon.
1995-05-10 06:33:31 +00:00
leo
18976dc656
Added machine type detection, the presence of the 2nd MFP determines
...
if the machine is a Falcon or a TT030. The type is added to 'machineid'.
Interrupt initialisation is now dependend on the machine type.
1995-05-10 05:59:27 +00:00
leo
8b4abb7503
Fix error in handling FPU types.
1995-05-05 16:39:14 +00:00
leo
231b64341e
Fix bug on handling HD-floppy's.
1995-05-05 16:38:05 +00:00
leo
ec3a1cd9f7
Define dma_drvmode correctly
1995-05-05 16:36:57 +00:00
leo
0d58fa8604
Report "real mem" correctly and make one single module for handling
...
software interrupts.
1995-05-05 16:35:21 +00:00
leo
0dae8a5da7
Remove some unused defines.
1995-05-05 16:33:11 +00:00
leo
60f4c22869
Shift system clocks from TT-mfp to ST-mfp and remove some dead-code.
1995-05-05 16:31:46 +00:00
leo
d64c598f6a
Shift system clocks from TT-mfp to ST-mfp for Falcon.
1995-05-05 16:30:33 +00:00
cgd
8703076975
define BROKEN_SWAP and/or cpu_swapout as appropriate.
1995-05-05 03:41:51 +00:00
leo
176d4dd6e5
Added -T option.
1995-05-02 05:54:28 +00:00
leo
58cd4c0a1d
Get 68040 defines in line with other 68k ports so libkvm/kvm_m68k.c compiles
...
cleanly.
1995-04-30 14:02:12 +00:00
leo
f677a89489
Small changes in dma locking code.
1995-04-30 12:06:01 +00:00
leo
12c60f7bc0
Complete rewrite, made necessary because Falcon SCSI needs to share
...
NCR5380 and DMA access with floppy.
1995-04-30 12:04:48 +00:00
leo
e95337c226
Added lock status bits, update function prototypes.
1995-04-30 12:02:03 +00:00
leo
fb4939eddf
Moved softint definitions still in cpu.h into mtpr.h and did some minor
...
cleanups.
1995-04-30 12:00:31 +00:00
leo
8996e3866b
- Move softint definitions to mtpr.h
...
- Add flags for TT/Falcon model for machineid, we definitely need them
1995-04-30 11:56:22 +00:00
leo
9dde470095
- Remove cpuspeed
...
- Remove dead code (stmem_steal())
- Use round_page() on st_pool_size before using. This prevents crashes
when it is 'binpatched' with a value that is not a multiple of the
page size.
1995-04-28 11:41:53 +00:00
leo
d3056f9136
CD-ROM drives added.
1995-04-28 11:36:33 +00:00
leo
cd29a7f291
Better way to select a display mode?
1995-04-28 11:34:33 +00:00
leo
d3bb44e8f2
Made no_ttram_dma patchable instead of a define.
1995-04-28 11:33:01 +00:00
cgd
0e59975fac
rename files files for new config/config.old naming
1995-04-28 08:19:12 +00:00
leo
ecec677e0c
Removed cpuspeed
1995-04-27 20:34:13 +00:00
christos
843a2a3539
Use new files.sunos
1995-04-27 12:08:54 +00:00
christos
94289bf2b0
Move sunos_machdep.c to m68k
1995-04-22 23:39:02 +00:00
christos
4bca9bf670
Remove sunos_machdep.c
1995-04-22 23:38:27 +00:00
leo
03df025c9d
Change allocation algorithm to best-fit, fix bug in free_stmem.
1995-04-22 22:23:38 +00:00
leo
8e56abf0fa
Define DELAY to call delay()
1995-04-22 22:20:36 +00:00
leo
3517d2e5ac
- Prefix 'dma-defines' with DMA_
...
- Add function prototypes
1995-04-22 22:18:57 +00:00