Added handlers for some interrupts and fixed terminal scrolling.

This commit is contained in:
2024-01-18 18:56:38 +01:00
parent c097da920d
commit 9f1f1e80f2
7 changed files with 222 additions and 22 deletions

View File

@@ -33,9 +33,10 @@ extern const unsigned {symbol}_SIZE;
env.Command([f'{res}.s', f'{res}.hpp'.replace('src/', 'include/')], res, action = _generate_s)
env.AddMethod(_resource, 'Resource')
irs_sources = Split('''
isr_sources = Split('''
src/drivers/pic.cpp
src/drivers/ps2.cpp
src/os/interrupt.cpp
''')
any_target_sources = Split('''
src/app/main.cpp
@@ -55,6 +56,6 @@ any_target_sources = Split('''
env.Resource(env.File('src/os/resources/lat9-08.psf').abspath, 'LAT9_08')
env.Append(KERNEL_SOURCES = [env.File(f) for f in any_target_sources])
env.Append(KERNEL_ISR_SOURCES = [env.File(f) for f in irs_sources])
env.Append(KERNEL_ISR_SOURCES = [env.File(f) for f in isr_sources])
Return('env')