commit | 36feea9317b45abf3a540e9d82ad1723bebe3ebd | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sat Feb 11 10:49:45 2012 -0500 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sat Feb 11 10:49:45 2012 -0500 |
tree | 32d4ade2f810e2092253bb11629dc3f92e63896b | |
parent | b50488bb3912f50ac70055d3fc3200ff2303986b [diff] |
Direct compile 16bit C code instead of including via .S files. Create a ".code16gcc" directive in src/code16gcc.s and use -Wa,src/code16gcc.s to tell gcc to compile directly to 16bit code. This eliminates the need to compile the C code to assembler and include in romlayout.S and vgaentry.S. This also allows those two assembler files to be compiled with debugging (-g) enabled. Also, includes some Makefile cleanups. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>