swan-dev
2 years agotools: bmp2tiles clearer error message master
Robin Krens [Wed, 15 Jun 2022 14:58:35 +0000 (16:58 +0200)]
tools: bmp2tiles clearer error message

2 years agotools: bmp2tiles write to seperate output folder
Robin Krens [Wed, 15 Jun 2022 14:54:40 +0000 (16:54 +0200)]
tools: bmp2tiles write to seperate output folder

2 years agotools: bmp2tiles write seperate .gfx and .pal files
Robin Krens [Wed, 15 Jun 2022 13:52:54 +0000 (15:52 +0200)]
tools: bmp2tiles write seperate .gfx and .pal files

2 years agotools: bmp2tiles correct substraction of columns
Robin Krens [Tue, 14 Jun 2022 18:53:54 +0000 (20:53 +0200)]
tools: bmp2tiles correct substraction of columns

2 years agotools: bmp2tiles multiple tiles one palette
Robin Krens [Tue, 14 Jun 2022 18:28:41 +0000 (20:28 +0200)]
tools: bmp2tiles multiple tiles one palette

2 years agotools: bmp2tiles better warning and error handling
Robin Krens [Mon, 13 Jun 2022 20:30:24 +0000 (22:30 +0200)]
tools: bmp2tiles better warning and error handling

2 years agotools: bmp2tiles image check on tile size and bpp
Robin Krens [Sun, 12 Jun 2022 18:52:15 +0000 (20:52 +0200)]
tools: bmp2tiles image check on tile size and bpp

2 years agotools: bmp2tiles create pallete data
Robin Krens [Sun, 12 Jun 2022 17:30:38 +0000 (19:30 +0200)]
tools: bmp2tiles create pallete data

2 years agotools: bmp2tiles with cmd line args
Robin Krens [Sun, 12 Jun 2022 15:51:37 +0000 (17:51 +0200)]
tools: bmp2tiles with cmd line args

2 years agotools: bmp2tiles swan_gfx_t struct + function call changes
Robin Krens [Sun, 12 Jun 2022 14:36:17 +0000 (16:36 +0200)]
tools: bmp2tiles swan_gfx_t struct + function call changes

2 years agotools: output stream for .gfx 4bpp file
Robin Krens [Sun, 12 Jun 2022 14:00:37 +0000 (16:00 +0200)]
tools: output stream for .gfx 4bpp file

2 years agotools: bmp2tiles init
Robin Krens [Sun, 12 Jun 2022 13:41:35 +0000 (15:41 +0200)]
tools: bmp2tiles init

2 years agotools: reorganize dirs
Robin Krens [Sun, 12 Jun 2022 13:40:48 +0000 (15:40 +0200)]
tools: reorganize dirs

2 years agosnd: init and test of noise sound
Robin Krens [Sun, 12 Jun 2022 13:39:19 +0000 (15:39 +0200)]
snd: init and test of noise sound

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