Commit Graph

439 Commits

Author SHA1 Message Date
9493aefa68 rename __CDECL16_ENTRY and EXIT 2025-09-07 13:29:24 -04:00
6f2fc627be new fancy macros to make it nicer to call functions 2025-09-07 13:16:37 -04:00
20c715fadd update notes on unreal entry 2025-09-07 13:15:40 -04:00
920c623a93 update README.md
All checks were successful
Daily Build and trunk tester / debian_update (push) Successful in 1m5s
2025-09-06 13:56:00 -04:00
af8e7d74d3 I don't plan on using mmx/sse, set the minimum cpu to a 686 2025-09-06 13:55:45 -04:00
fde7abc544 replace or opcode with test
test only updates flags
2025-09-06 08:38:16 -04:00
69223a1ad2 explaination on the power of two stuff
All checks were successful
Daily Build and trunk tester / debian_update (push) Successful in 1m21s
2025-09-05 20:54:29 -04:00
130cd22ff1 remove unreal mode stuff from cdecl16.inc 2025-09-05 20:33:00 -04:00
4e5112b45b move unreal mode hackery back to stage2.nasm 2025-09-05 20:32:19 -04:00
66e8e3c7fc prototype allocate function 2025-09-05 19:55:08 -04:00
b0bd4b27b0 🎉 simple allocator init in the code 2025-09-05 16:48:24 -04:00
cd316afdd1 basic arena allocator implementation 2025-09-05 16:42:25 -04:00
9a478aa4d4 added another __REFLAT variant 2025-09-05 16:28:01 -04:00
31d05c35e5 move __TINY_DS_ES to unreal_mode function
also some cleanup
2025-09-05 16:18:34 -04:00
534e04ef34 fix a typo 2025-09-05 15:48:43 -04:00
f58bf93507 don't exit if we are running as root
just warn
2025-09-05 15:45:33 -04:00
b5ae11f850 set ds/es to a tiny memory model after entering Unreal mode
ss/fs/gs will all be huge/flat model after
2025-09-05 15:43:22 -04:00
b9b3e92632 actually set cs to 16-bit segment for a bit in-case we want to run some pm code 2025-09-05 15:26:24 -04:00
5fac10f02c use easier to read logic 2025-09-05 14:40:44 -04:00
fa4524aa59 add macros to go from real <-> unreal 2025-09-05 14:39:16 -04:00
01ec6da0cc make unreal mode unreal again 2025-09-05 11:45:46 -04:00
2e2b4f991d add cursor manipulation via bios or crtc 2025-09-05 11:45:20 -04:00
d7b29d9113 __CDECL16_ENTRY now takes 0-1 params, if you give it a size it sets up local varible redzone 2025-09-05 11:44:30 -04:00
69d82dc0c2 small comment update 2025-09-05 11:43:41 -04:00
a53534acd2 clear the carry flag before calling BIOS functions 2025-09-05 10:33:42 -04:00
c3871d2b7d move string functions to video.nasm
caught a bug where SetTextMode was setting mono text not 16-color mode
2025-09-05 10:33:03 -04:00
d824493ba2 small clarification on what "unreal" mode really is 2025-09-05 09:12:55 -04:00
cb089681cf make arena_align_up use 16-bit values 2025-09-05 09:12:26 -04:00
d868008726 another oopsie from when I changed the calling convention... 2025-09-05 08:43:41 -04:00
935427509a inital code for align_up function 2025-09-05 08:27:56 -04:00
f5e4927d70 add basic arena area init code
Some checks failed
Daily Build and trunk tester / debian_update (push) Failing after 1m14s
2025-09-04 20:04:25 -04:00
b106eae066 fix alignment macros 2025-09-04 20:04:03 -04:00
f2657fdc01 seems I found a /little/ oopsie in the fat32 system 2025-09-04 19:59:36 -04:00
86d966811b prototypes for displaying some memory maps
but now I need to write an arena allocator...so brb
2025-09-04 17:51:52 -04:00
c10394a0cd early allocator prototypes 2025-09-04 17:49:57 -04:00
28b23b9ce2 paragraph align the values in bss 2025-09-04 15:32:42 -04:00
105ceb8b8b make sure eax and edx are set each call to E820 2025-09-04 15:32:28 -04:00
7fd5b9b85d wx is still broken, also point to disk.img in build/ 2025-09-04 15:31:39 -04:00
a618a837d4 added root check back in, but check that we aren't root
changed how mtools accesses images, should functionally be the same.
2025-09-04 12:29:57 -04:00
930d49c353 Delete LICENSE.md
GPLv3 is in COPYING, remove LICENSE.md
2025-09-04 10:11:36 -04:00
06d00d02e2 Update .github/workflows/daily.yaml
oh boy, github actions as well
2025-09-04 09:19:23 -04:00
61379e8116 add a daily cron and general build action for github actions 2025-09-04 08:58:45 -04:00
828428e73b removed debug files (they were moved earlier)
All checks were successful
Daily Build and trunk tester / debian_update (push) Successful in 1m19s
2025-08-24 10:47:54 -04:00
402bf9974d moved map file output to build
moved output of builds to build/output
updated gitea action
2025-08-24 10:47:18 -04:00
5dfc3533d9 ignore everything in build output manually track .keep_dir files 2025-08-24 10:19:10 -04:00
d9225718c2 moving some documentation around and a bit of build cleanup 2025-08-24 10:18:01 -04:00
8a6730bc9c Update README.md
All checks were successful
Daily Build and trunk tester / debian_update (push) Successful in 1m27s
2025-08-23 09:32:44 -04:00
67523208b3 Update scripts/create-disk.sh
fix label-id, was a bit over the ballmer ridge
2025-08-23 08:35:26 -04:00
ffe887b6a9 Update .gitea/workflows/onpush.yaml
All checks were successful
Daily Build and trunk tester / debian_update (push) Successful in 1m34s
2025-08-22 22:45:59 -04:00
c45e62ecc2 Merge branch 'trunk' of chtm-lapp-02.lan.chtm.me:nivirx/stevia into trunk 2025-08-22 22:43:40 -04:00