Laurent Vivier
|
3eb8a4e2cc
|
Call SetInterrupt() only for Display drivers, call DrvrRemove() (why not ?)
|
2006-10-20 22:14:26 +00:00 |
|
Laurent Vivier
|
1bb375da59
|
Change my email address to Laurent@lvivier.info
|
2006-09-15 14:55:39 +00:00 |
|
Laurent Vivier
|
851e1e0777
|
check result of graphic init
|
2005-12-12 22:31:05 +00:00 |
|
Laurent Vivier
|
ad0f9c2b6b
|
use get_next_property() and get_property() from libemile
|
2005-12-08 06:34:58 +00:00 |
|
Laurent Vivier
|
f143ea45a2
|
add 0%, check return of seek()
|
2005-12-05 19:57:27 +00:00 |
|
Laurent Vivier
|
9c140330c5
|
remove banner and some traces
|
2005-12-05 19:56:37 +00:00 |
|
Laurent Vivier
|
5194edb54d
|
Remove traces (MMU type)
|
2005-12-05 19:53:39 +00:00 |
|
Laurent Vivier
|
7e6ec8e67b
|
Add a progress bar
|
2005-12-02 19:05:36 +00:00 |
|
Laurent Vivier
|
3be455d92b
|
check return value of stream_read()
|
2005-12-02 01:19:51 +00:00 |
|
Laurent Vivier
|
30f53ccdbb
|
Add libcontainer
|
2005-12-01 22:16:34 +00:00 |
|
Laurent Vivier
|
116c7694fb
|
some cleanups for dist
|
2005-12-01 13:52:01 +00:00 |
|
Laurent Vivier
|
afb28049a1
|
remove lowmem.h and memory.h, moved to libmacos
|
2005-11-29 00:18:58 +00:00 |
|
Laurent Vivier
|
896ac19f91
|
Obsoleted by EM06
|
2005-11-28 23:57:42 +00:00 |
|
Laurent Vivier
|
d0411ded91
|
read_line() : do not cross the the end of the configuration (0-mark), remove traces about kernel and initrd
|
2005-11-28 23:56:47 +00:00 |
|
Laurent Vivier
|
e44fa532f2
|
add read_config_vga()
|
2005-11-28 23:21:00 +00:00 |
|
Laurent Vivier
|
c0a9e8b158
|
Manage stopbits for serial, put parameters on a line alone, not inside kernel property
|
2005-11-28 23:20:25 +00:00 |
|
Laurent Vivier
|
c344eec4c8
|
Correct case where there is no parameter for the kernel
|
2005-11-28 00:15:36 +00:00 |
|
Laurent Vivier
|
9589271a29
|
EM06 header type: all is stored as text
|
2005-11-27 22:31:07 +00:00 |
|
Laurent Vivier
|
bdce469744
|
Don't print ramdisk if NULL
|
2005-11-26 09:24:43 +00:00 |
|
Laurent Vivier
|
cd1a4a225a
|
Read configuration
|
2005-11-26 09:02:21 +00:00 |
|
Laurent Vivier
|
10099df5fe
|
Add config.c, remove ata, add LIBS_MEDIA
|
2005-11-26 09:01:36 +00:00 |
|
Laurent Vivier
|
b7204c461d
|
correct print format
|
2005-11-26 09:00:23 +00:00 |
|
Laurent Vivier
|
13d2ca4db7
|
use new interface to read config and to load kernel and ramdisk
|
2005-11-26 08:59:58 +00:00 |
|
Laurent Vivier
|
bb1664be29
|
move container to libcontainer
|
2005-11-26 08:59:14 +00:00 |
|
Laurent Vivier
|
93e7f68c4d
|
correct libs ordering, add libblock
|
2005-11-23 22:44:12 +00:00 |
|
Laurent Vivier
|
696e2b9161
|
correct load_ramdisk()
|
2005-11-23 22:43:32 +00:00 |
|
Laurent Vivier
|
38e161e94c
|
Add load_ramdisk(), remove load_image() and load_gzip()
|
2005-11-23 00:12:10 +00:00 |
|
Laurent Vivier
|
91aca2037d
|
Add load_ramdisk()
|
2005-11-23 00:11:33 +00:00 |
|
Laurent Vivier
|
341672825a
|
Add libisio9660, libstream, libgzip, libfloppy, libscsi...
|
2005-11-22 23:20:51 +00:00 |
|
Laurent Vivier
|
6ab4fcd8bc
|
add load_kernel()
|
2005-11-22 23:18:06 +00:00 |
|
Laurent Vivier
|
6e979109ed
|
Use libstream and decode ELF format
|
2005-11-22 23:17:31 +00:00 |
|
Laurent Vivier
|
d36bd9d0e9
|
moved to libstream
|
2005-11-22 23:16:51 +00:00 |
|
Laurent Vivier
|
01737ea3ce
|
moved to libscsi
|
2005-11-17 13:33:14 +00:00 |
|
Laurent Vivier
|
cc45382557
|
moved to libscsi
|
2005-11-17 06:54:13 +00:00 |
|
Laurent Vivier
|
43c7d65e4f
|
move to zlib-1.2.3
|
2005-11-16 00:48:20 +00:00 |
|
Laurent Vivier
|
aed2d777a0
|
change device interface
|
2005-11-13 19:43:28 +00:00 |
|
Laurent Vivier
|
fc3659730a
|
Add #include
|
2005-11-12 22:35:44 +00:00 |
|
Laurent Vivier
|
be7b1acafb
|
Add libiso9660 I/O interface
|
2005-11-12 22:33:12 +00:00 |
|
Laurent Vivier
|
0dbebc5e04
|
Add targets dist, install and uninstall. use libs libmacos and libunix
|
2005-11-08 02:15:06 +00:00 |
|
Laurent Vivier
|
9c370d7600
|
Move MacOS functions to libmacos, disable inline of putchar() enabled by -O2
|
2005-11-08 02:13:30 +00:00 |
|
Laurent Vivier
|
46132c2af2
|
Move MacOS functions to libmacos
|
2005-11-08 02:06:40 +00:00 |
|
Laurent Vivier
|
b0323e54df
|
Move UNIX/POSIX/C functions to libunix
|
2005-11-08 02:04:54 +00:00 |
|
Laurent Vivier
|
02e687a878
|
some change in paramBlock
|
2005-11-04 10:20:39 +00:00 |
|
Laurent Vivier
|
bf1bdb6f92
|
Add VolumeParam and some 'unneeded' volume functions...
|
2005-11-04 10:18:41 +00:00 |
|
Laurent Vivier
|
088d52afef
|
Add enter_kernel.o
|
2005-10-20 22:02:39 +00:00 |
|
Laurent Vivier
|
3276cd118c
|
functions to enter kernel with/without MMU
|
2005-10-20 22:02:25 +00:00 |
|
Laurent Vivier
|
f962537ede
|
define check_full_in_bank(a,b) (1) when no MMU
|
2005-10-20 22:01:29 +00:00 |
|
Laurent Vivier
|
4aa27aeab3
|
move some functions to enter_kernel.c
|
2005-10-20 22:00:44 +00:00 |
|
Laurent Vivier
|
46c2cae538
|
declare enter_kernel, end_kernel
|
2005-10-20 21:13:53 +00:00 |
|
Laurent Vivier
|
5b5f6118dd
|
Declare MMU*_disable_cache
|
2005-10-20 21:12:59 +00:00 |
|
Laurent Vivier
|
7e7ae6ca7b
|
add USE_MMU, USE_MMU030, USE_MMU040
|
2005-10-20 21:12:13 +00:00 |
|
Laurent Vivier
|
e864052a45
|
Add nop in cache disable
|
2005-10-20 12:32:48 +00:00 |
|
Laurent Vivier
|
02a73abc66
|
Disable Slot resources functions
|
2005-10-10 21:56:14 +00:00 |
|
Laurent Vivier
|
74135a8cda
|
call turn_off_interrupts()
|
2005-10-10 21:51:02 +00:00 |
|
Laurent Vivier
|
91eb3f460c
|
Add SGetTypeSRsrc()
|
2005-10-10 21:50:25 +00:00 |
|
Laurent Vivier
|
29d30cd033
|
Add turn_off_interrupts
|
2005-10-10 21:42:58 +00:00 |
|
Laurent Vivier
|
9704f9621c
|
cleaning
|
2005-10-06 22:13:50 +00:00 |
|
Laurent Vivier
|
6b03bcd7be
|
Add SGetCString() and SRsrcInfo()
|
2005-10-06 22:07:28 +00:00 |
|
Laurent Vivier
|
87c23547c0
|
Add function to list drivers
|
2005-10-06 21:06:20 +00:00 |
|
Laurent Vivier
|
950d8d3f99
|
move OpenDriver(), CloseDriver(), read(), write(), SerGetBuf() from serial.c to driver.c
|
2005-10-06 21:03:19 +00:00 |
|
Laurent Vivier
|
faac96d4a9
|
Add LMGetUnitTableEntryCount() and LMGetUTableBase()
|
2005-09-22 23:05:30 +00:00 |
|
Laurent Vivier
|
606df3c2a6
|
Add p2cstring()
|
2005-09-22 23:04:43 +00:00 |
|
Laurent Vivier
|
8bcae44b04
|
set netBSD flags
|
2005-09-21 23:23:18 +00:00 |
|
Laurent Vivier
|
e6e52556ff
|
Add support for NetBSD (env)
|
2005-09-19 22:15:34 +00:00 |
|
Laurent Vivier
|
145ed7479e
|
More NetBSD support
|
2005-09-19 22:10:41 +00:00 |
|
Laurent Vivier
|
dbfff6ba88
|
Define COMMAND_LINE_LENGTH
|
2005-09-19 22:08:08 +00:00 |
|
Laurent Vivier
|
69d73de025
|
Set some env variables
|
2005-09-19 22:07:21 +00:00 |
|
Laurent Vivier
|
be8b8ee163
|
move gmt_bias from bootinfo.c to arch.c
|
2005-09-19 22:01:53 +00:00 |
|
Laurent Vivier
|
1e3f09576a
|
Force primary target
|
2005-09-19 19:20:33 +00:00 |
|
Laurent Vivier
|
f696ece068
|
Add support for multiple kernel type: add netBSD
|
2005-09-19 19:08:55 +00:00 |
|
Laurent Vivier
|
acf4794515
|
Add netBSD boot parameters support
|
2005-09-19 19:05:02 +00:00 |
|
Laurent Vivier
|
7df4fa9949
|
Add an entry point in enter_kernel for netBSD support
|
2005-09-19 19:03:39 +00:00 |
|
Laurent Vivier
|
f77dcd8300
|
Correct KERNEL PANIC on IIci: move bootinfo() and set_kernel_bootinfo() after disable_cache()
|
2005-09-07 00:29:22 +00:00 |
|
Laurent Vivier
|
1bd317067f
|
RAMDISK memory MUST be allocated at top of memory
|
2005-09-05 21:11:12 +00:00 |
|
Laurent Vivier
|
4757dff52c
|
Add malloc_top() that try to allocate memory at top of memory
|
2005-09-05 21:10:31 +00:00 |
|
Laurent Vivier
|
1c814a938b
|
Correctly manage VT100 control characters on serial port (ignore NULL characters)
|
2005-09-05 19:36:12 +00:00 |
|
Laurent Vivier
|
dc4745097f
|
Manage righ arrow, left arrow and delete keys
|
2005-09-02 23:53:02 +00:00 |
|
Laurent Vivier
|
00ebe00960
|
Manage correctly escape strings, GOT table is not able to manage strings pointer in an array, use a switch()/case instead
|
2005-09-02 23:52:15 +00:00 |
|
Laurent Vivier
|
38e3d2758f
|
Add PBSyncStatus() and its serial status commands
|
2005-08-31 23:35:08 +00:00 |
|
Laurent Vivier
|
2c6363842c
|
buffer_get() return 0 instead of -1 if no available character
|
2005-08-31 23:33:57 +00:00 |
|
Laurent Vivier
|
4e4ab9a082
|
Add SerGetBuf() to know if there is available character in serial line buffer, correct serial_keypressed according serial_getchar which is returning 0 if no available character
|
2005-08-31 23:32:43 +00:00 |
|
Laurent Vivier
|
c2981e4607
|
Add serial_cursor_restore() and serial_cursor_save()
|
2005-08-30 08:04:26 +00:00 |
|
Laurent Vivier
|
3d6e6953b1
|
Add serial_cursor_save(and serial_cursor_restore(), and open serial ports for input, read character from serial ports, detect keypressed
|
2005-08-30 08:03:50 +00:00 |
|
Laurent Vivier
|
4222e48572
|
Use console_cursor_on(), console_cursor_off(), console_cursor_save(), console_cursor_restore()
|
2005-08-28 21:42:18 +00:00 |
|
Laurent Vivier
|
95e99c5c24
|
Add console_cursor_on(), console_cursor_off(), console_cursor_save(), console_cursor_restore()
|
2005-08-28 21:41:31 +00:00 |
|
Laurent Vivier
|
83f79b299b
|
Add vga_cursor_save(), vga_cursor_save() and correct backspace
|
2005-08-28 21:39:54 +00:00 |
|
Laurent Vivier
|
12aefec328
|
Add cli.o
|
2005-08-27 21:26:06 +00:00 |
|
Laurent Vivier
|
279250d2c7
|
Call cli_edit() to edit parameters
|
2005-08-27 21:25:33 +00:00 |
|
Laurent Vivier
|
a6eb91ec1c
|
Command Line Interpreter
|
2005-08-27 21:24:26 +00:00 |
|
Laurent Vivier
|
c80730558f
|
Add management of \b
|
2005-08-27 18:52:51 +00:00 |
|
Laurent Vivier
|
b04eff1baa
|
Add strcpy()
|
2005-08-27 18:52:24 +00:00 |
|
Laurent Vivier
|
424482eb34
|
Manage keyboard
|
2005-08-27 15:48:13 +00:00 |
|
Laurent Vivier
|
488ccb3a9b
|
remove wait and timeout from keyboard_keypressed()
|
2005-08-27 15:46:47 +00:00 |
|
Laurent Vivier
|
3298458062
|
rename serial_get(), add serial_keypressed() skeleton
|
2005-08-27 15:27:03 +00:00 |
|
Laurent Vivier
|
2de889f588
|
Manage ctrl, remove option
|
2005-08-26 11:30:35 +00:00 |
|
Laurent Vivier
|
4e055cf799
|
Call vga_cursor_refresh()
|
2005-08-26 09:26:19 +00:00 |
|
Laurent Vivier
|
1a6444a800
|
Add vga_cursor_refresh(), vga_cursor_on(), vga_cursor_off(): management of cursor on the display
|
2005-08-26 09:25:47 +00:00 |
|
Laurent Vivier
|
a83e92a120
|
get KeyTime before reading keycode
|
2005-08-26 07:36:05 +00:00 |
|
Laurent Vivier
|
6b75470fec
|
Add serial_get() skeleton
|
2005-08-25 21:46:47 +00:00 |
|
Laurent Vivier
|
9c2f76491c
|
Add escape strings and buffer management
|
2005-08-25 21:45:11 +00:00 |
|
Laurent Vivier
|
5a18009707
|
Temporarily switch to 68020
|
2005-08-25 11:12:02 +00:00 |
|
Laurent Vivier
|
5b3c16037f
|
Add scancode conversion procedure
|
2005-08-25 11:11:28 +00:00 |
|
Laurent Vivier
|
ef945d42ab
|
Add scancodes definition
|
2005-08-25 08:53:11 +00:00 |
|
Laurent Vivier
|
fba26da4c5
|
Add KeyLast, KeyTime, KeyRepTime and Ticks
|
2005-08-25 08:18:00 +00:00 |
|
Laurent Vivier
|
cdbd259853
|
Really set correctly modifiers bits
|
2005-08-22 20:48:47 +00:00 |
|
Laurent Vivier
|
243b177780
|
Set correctly modifiers bits
|
2005-08-22 20:26:01 +00:00 |
|
Laurent Vivier
|
1e3e41a706
|
Add keyboard management
|
2005-08-22 20:18:21 +00:00 |
|
Laurent Vivier
|
5797b03ea2
|
Manage keyboard
|
2005-08-22 20:17:34 +00:00 |
|
Laurent Vivier
|
5963764d98
|
Add GetKeys()
|
2005-08-21 21:22:15 +00:00 |
|
Laurent Vivier
|
221fbfb12a
|
68000: Set memory bank from KERNEL_LOADADDR to ScrnBase - 0x8000
|
2005-06-30 08:55:28 +00:00 |
|
Laurent Vivier
|
a9c5d929c8
|
Add low memory offset (0x3000)
|
2005-06-30 01:05:46 +00:00 |
|
Laurent Vivier
|
399f4f4fbc
|
correct typo
|
2005-06-27 22:22:37 +00:00 |
|
Laurent Vivier
|
59d292fc40
|
Add scc write base in bootinfo for Mac Classic
|
2005-06-27 20:25:35 +00:00 |
|
Laurent Vivier
|
ff81b04c7f
|
68000: put vga_get_videobase() instead of vga_get_video() in boot_info.bi_mac.videoaddr
|
2005-06-15 08:07:07 +00:00 |
|
Laurent Vivier
|
6e899e57ca
|
68000: really set physImage to kernel address
|
2005-06-14 20:15:46 +00:00 |
|
Laurent Vivier
|
4ddcf438d9
|
Add 68000-based macintosh support: load kernel at address 0x4000
|
2005-06-14 19:39:43 +00:00 |
|
Laurent Vivier
|
6b501d489e
|
set .chip 68000
|
2005-06-14 19:32:09 +00:00 |
|
Laurent Vivier
|
6302c6745a
|
remove ori.w #0x0700, %sr, already deone in main()
|
2005-06-13 20:18:51 +00:00 |
|
Laurent Vivier
|
0122b4f342
|
Align tags on 4-byte frontier
|
2005-06-13 20:03:22 +00:00 |
|
Laurent Vivier
|
7f07eaca6b
|
move Gestalt('ram '...) from bootinfo.c to arch.c
|
2005-06-13 18:49:38 +00:00 |
|
Laurent Vivier
|
75dff171a3
|
Define some macros about floppy structure
|
2005-06-10 21:09:42 +00:00 |
|
Laurent Vivier
|
5cbe0f0e3d
|
Generates 68000 compatible floppy
|
2005-06-10 21:08:52 +00:00 |
|
Laurent Vivier
|
ba2c5fc6e7
|
68000 compatibility: load _GLOBAL_OFFSET_TABLE_
|
2005-06-10 20:53:14 +00:00 |
|
Laurent Vivier
|
c2746c0b56
|
preliminary support of uncompress on-the-fly
|
2005-06-09 22:13:21 +00:00 |
|
Laurent Vivier
|
406f252a78
|
change prototype of uncompress(): caller provide function to feed the inflate procedure
|
2005-06-09 22:11:07 +00:00 |
|
Laurent Vivier
|
da403aff9f
|
move uncompressing kernel from main.c to load.c
|
2005-06-09 19:58:49 +00:00 |
|
Laurent Vivier
|
713ca6ad89
|
move to version 5 of header: kernel_size == kernel_image_size means uncompressed
|
2005-06-09 19:55:12 +00:00 |
|
Laurent Vivier
|
8da276934d
|
Manage RESIDENT page entry
|
2005-06-06 19:38:07 +00:00 |
|
Laurent Vivier
|
dac89b097e
|
Set STATIC to static
|
2005-06-06 19:36:13 +00:00 |
|
Laurent Vivier
|
13ced3364c
|
GCC 3 requires BSS be cleared: it places variables initialized to 0 from DATA to BSS
|
2005-06-06 19:33:40 +00:00 |
|
Laurent Vivier
|
a7486773fc
|
backport fix from gzip 1.3.5
|
2005-06-06 18:15:51 +00:00 |
|
Laurent Vivier
|
4e40550c9f
|
save and restore registers at entry/exit of functions (detected with GCC 3)
|
2005-06-01 23:26:24 +00:00 |
|
Laurent Vivier
|
c874bd5250
|
save and restore %d2 in MMU040_read_phys (detected with GCC 3.4)
|
2005-06-01 22:48:38 +00:00 |
|
Laurent Vivier
|
0c63c2cb52
|
more gcc-3 compatibility: add putchar()
|
2005-05-26 22:43:10 +00:00 |
|
Laurent Vivier
|
545cbd81d0
|
Add 'ori.w #0x0700,%sr'
|
2005-05-25 22:05:35 +00:00 |
|
Laurent Vivier
|
445c9a7b3d
|
Remove -Os, kernel doesn't boot on my LC475
|
2005-05-25 19:05:22 +00:00 |
|
Laurent Vivier
|
d8928f4462
|
remove 'ori.w #0x0700, %sr', must be made by the caller
|
2005-05-25 06:41:03 +00:00 |
|
Laurent Vivier
|
c19a88328c
|
Really change putstring() to console_putstring()
|
2005-05-25 06:32:58 +00:00 |
|
Laurent Vivier
|
ec1075431d
|
Remove previous modification in MMU040_logical2physicalAttr()
|
2005-05-25 06:32:19 +00:00 |
|
Laurent Vivier
|
a7a2a2eabc
|
use console_putchar() and console_putstring() instead of putchar() and putstring() (create some problems...)
|
2005-05-25 06:26:00 +00:00 |
|
Laurent Vivier
|
85e5b3f137
|
Correct isTTSegment() (zone size) and MMU040_logical2physicalAttr() (invalid statement)
|
2005-05-25 05:11:52 +00:00 |
|
Laurent Vivier
|
646105a81a
|
produce 68020 as cc is bugged
|
2005-05-24 00:00:13 +00:00 |
|
Laurent Vivier
|
a3cafeb04e
|
Produce pure 68000 binaries
|
2005-05-23 23:03:04 +00:00 |
|
Laurent Vivier
|
207da244ea
|
Remove NULL
|
2005-05-23 22:27:03 +00:00 |
|
Laurent Vivier
|
a4db5808a7
|
Add support for Mac Classic
|
2005-05-23 22:23:34 +00:00 |
|
Laurent Vivier
|
991245f956
|
Add commnets for InitGraf()
|
2005-05-23 22:22:36 +00:00 |
|
Laurent Vivier
|
a359a656a5
|
Add InitGraf(), detect if LMGetMainDevic() is corrupter (0xAAAAAAAA ? detected on B&W display Mac Classic)
|
2005-05-23 20:14:40 +00:00 |
|
Laurent Vivier
|
0af901660c
|
Add InitGraf() and detect if glue_display_properties() cannot get properties (B&W display ? seen on Mac Classic)
|
2005-05-23 20:13:13 +00:00 |
|
Laurent Vivier
|
3d954e3de4
|
Add some Quickdraw structures
|
2005-05-23 20:11:26 +00:00 |
|
Laurent Vivier
|
011304404a
|
correct puts() usage, use putchar() and putstring()
|
2005-05-23 17:10:19 +00:00 |
|