Commit Graph

250 Commits

Author SHA1 Message Date
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
Laurent Vivier
6a00dde82b replace console_put() by putchar() and console_print() by putstring() 2005-05-23 17:09:48 +00:00
Laurent Vivier
a74c487fba in error(), use puts() instead of printf() 2005-05-23 17:08:51 +00:00
Laurent Vivier
9b8aab8020 use putchar() instead of console_put() 2005-05-23 17:08:17 +00:00
Laurent Vivier
09f058298b concatenate string of EMILE and CPU type 2005-05-22 23:16:54 +00:00
Laurent Vivier
678d7288f3 Introduce gcc-3.3 and 68020 target instead of 68030 2005-05-22 23:15:56 +00:00
Laurent Vivier
8cfdb1db76 cast for entry, to support gcc 3.3 2005-05-22 21:16:57 +00:00
Laurent Vivier
ad1a7d95eb Add const to console_print() to conform to puts() 2005-05-22 21:15:23 +00:00
Laurent Vivier
f7999b496d Add <string.h> 2005-05-22 21:14:41 +00:00
Laurent Vivier
216cc6e0e3 Remove SUPPORT_68000 and add __mulsi3, __udivsi3, __divsi3, umodsi3 and modsi3 to glue.S, add puts() and putchar() to support standard include 2005-05-22 21:12:21 +00:00
Laurent Vivier
47e38c77c7 Remove SUPPORT_68000 and add __mulsi3, __udivsi3, __divsi3, umodsi3 and modsi3 to glue.S 2005-05-22 21:11:05 +00:00
Laurent Vivier
d80422e14e change 68000_SUPPORT by SUPPORT_68000, correct vga_clear() 2005-05-19 05:58:27 +00:00
Laurent Vivier
2242de12cd change 68000_SUPPORT by SUPPORT_68000 2005-05-19 05:51:13 +00:00
Laurent Vivier
a9f3d5b2e5 Add 68000 support 2005-05-17 23:40:19 +00:00
Laurent Vivier
6cebabe53b Add 68000 support 2005-05-17 23:36:26 +00:00