71:6c30c4c39803
|
2018-10-28 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved framebuffer initialisation to after the point of interrupts being enabled.
This should no longer crash, thanks to the preservation of the accumulator
registers. |
|
|
examples/vga/main.c
|
|
70:25aa0d4ffa88
|
2018-10-28 |
Paul Boddie |
changeset
files
shortlog
graph
|
Save and restore the accumulator registers. Otherwise, certain operations, such
as those coincidentally employed in the framebuffer copying function, are
disrupted and cause erroneous program operations to be performed. |
|
|
lib/cpu.S
|
|
69:f3a4ee69fdfc
|
2018-10-27 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added example image data and a function to copy the data to the framebuffer.
Added a tool to prepare image data from conventional bitmap files. |
|
|
examples/vga-dual/Makefile examples/vga-dual/screendata.S examples/vga-pmp/screendata.S examples/vga-timer/Makefile examples/vga-timer/screendata.S examples/vga/Makefile examples/vga/main.c examples/vga/screendata.S include/display.h lib/display.c ...
|
|
68:b55498587c1f
|
2018-10-27 |
Paul Boddie |
changeset
files
shortlog
graph
|
Merged sections to avoid virtual and physical (load) address discrepancies.
The .rodata objects were being positioned after the .text objects, but although
the starting virtual address for the .rodata objects seemed to be aligned to a
particular boundary (maybe 16 bytes), the starting physical address was not
aligned. Consequently, the program was looking for objects at addresses beyond
their actual, stored locations. |
|
|
lib/payload.ld
|
|
67:37efd786c133
|
2018-10-27 |
Paul Boddie |
changeset
files
shortlog
graph
|
Use array types to reference program regions more naturally. |
|
|
lib/payload.c
|
|
66:7ad31261c9e8
|
2018-10-27 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced .bss section clearing. |
|
|
lib/payload.c lib/payload.ld lib/start.S
|
|
65:701c6a78e2ac
|
2018-10-27 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed stray whitespace. |
|
|
lib/vga_display.c
|
|
64:5441add474f5
|
2018-10-26 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the relocation function, enabling the vga example again. |
|
|
lib/payload.c lib/start.S
|
|
63:fda3e3afe979
|
2018-10-26 |
Paul Boddie |
changeset
files
shortlog
graph
|
Use a simpler byte-based copy for the data relocation. |
|
|
lib/payload.c
|
|
62:88fbeb522bba
60:bb0c949a94e1 61:ae0b0022e609
|
2018-10-26 |
Paul Boddie |
changeset
files
shortlog
graph
|
Merged parallel changes, updating the relocate_data invocation similarly. |
|
|
lib/start.S
|
|