swan-dev
2 years agomain: attribute naked not working, use .s instead
Robin Krens [Sat, 11 Jun 2022 22:59:35 +0000 (00:59 +0200)]
main: attribute naked not working, use .s instead

2 years agomain: display control windowing functionality
Robin Krens [Sat, 11 Jun 2022 20:40:21 +0000 (22:40 +0200)]
main: display control windowing functionality

2 years agomain: inport calls
Robin Krens [Sat, 11 Jun 2022 20:02:44 +0000 (22:02 +0200)]
main: inport calls

2 years agomain: set fg and bg map locations
Robin Krens [Sat, 11 Jun 2022 19:29:52 +0000 (21:29 +0200)]
main: set fg and bg map locations

2 years agomain: interrupt vector setup
Robin Krens [Thu, 9 Jun 2022 18:08:09 +0000 (20:08 +0200)]
main: interrupt vector setup

- interrupt at 0x20
- dummy_isr routine for vblank
- used outport to set and enable interrupts

2 years agoout call to ports with inline asm + c variables
Robin Krens [Wed, 8 Jun 2022 22:03:11 +0000 (00:03 +0200)]
out call to ports with inline asm + c variables

squash of:
commit 0b368932d654cdbd81d682d36897c74fa1106485
commit a58ede133445902c0a13da0392cac600e72538bf

2 years agorefactor: use for ia86-elf-gcc toolchain + linker file
Robin Krens [Tue, 7 Jun 2022 19:55:39 +0000 (21:55 +0200)]
refactor: use for ia86-elf-gcc toolchain + linker file

- use of gas style assembly in entry.S
- copy to RAM func
- jump to C
- main.c tests for .bss (global) and .data data
- makefile changes for toolchain
- added swan.ld linker file to make layout sections easier

2 years agovariables for segment locations
Robin Krens [Mon, 6 Jun 2022 12:31:07 +0000 (14:31 +0200)]
variables for segment locations

2 years agocopy to ram and initialze sprite from c
Robin Krens [Mon, 6 Jun 2022 11:56:54 +0000 (13:56 +0200)]
copy to ram and initialze sprite from c

2 years agoinc: cleanup and organize header files
Robin Krens [Sun, 5 Jun 2022 14:21:28 +0000 (16:21 +0200)]
inc: cleanup and organize header files

2 years agomain: setting register from C with inline asm
Robin Krens [Sat, 4 Jun 2022 20:49:50 +0000 (22:49 +0200)]
main: setting register from C with inline asm

2 years agotools: romheader makefile
Robin Krens [Sat, 4 Jun 2022 13:02:27 +0000 (15:02 +0200)]
tools: romheader makefile

2 years agotools: romheader adjusted
Robin Krens [Sat, 4 Jun 2022 12:52:40 +0000 (14:52 +0200)]
tools: romheader adjusted

2 years agotools: romheader and padder
Robin Krens [Sat, 4 Jun 2022 12:45:07 +0000 (14:45 +0200)]
tools: romheader and padder

2 years agomakefile: added comments
Robin Krens [Sat, 4 Jun 2022 09:16:59 +0000 (11:16 +0200)]
makefile: added comments

2 years agocall to main
Robin Krens [Fri, 3 Jun 2022 22:13:26 +0000 (00:13 +0200)]
call to main

2 years agohack: strip last line to load
Robin Krens [Fri, 3 Jun 2022 22:11:32 +0000 (00:11 +0200)]
hack: strip last line to load

2 years agoconvert to c phase 1
Robin Krens [Fri, 3 Jun 2022 22:09:00 +0000 (00:09 +0200)]
convert to c phase 1

2 years agosample: sample asm and tiles file
Robin Krens [Fri, 3 Jun 2022 19:44:02 +0000 (21:44 +0200)]
sample: sample asm and tiles file

2 years agomakefile: compile, assemble and link
Robin Krens [Thu, 2 Jun 2022 20:38:28 +0000 (22:38 +0200)]
makefile: compile, assemble and link

2 years agoreadme: initial readme struct
Robin Krens [Thu, 2 Jun 2022 19:28:05 +0000 (21:28 +0200)]
readme: initial readme struct