Skip to content

Add echo command and GUI library#7

Open
Ramazanenescik04 wants to merge 2 commits intoshikaan:mainfrom
Ramazanenescik04:main
Open

Add echo command and GUI library#7
Ramazanenescik04 wants to merge 2 commits intoshikaan:mainfrom
Ramazanenescik04:main

Conversation

@Ramazanenescik04
Copy link
Copy Markdown

This Pull Request adds a simple echo command and a GUI library. The GUI library uses BIOS Mode 13h and therefore has a maximum of 16 colors.

Introduce C implementations for help and echo utilities (bin/help.c, bin/echo.c) and remove the old assembly help (bin/help.s). Update Makefile to include and pack echo.bin. Add a BIOS-mode GUI header (sdk/gui.h) with Mode 13h primitives (pixel, fill_rect, frame, mode switches) and a tutorial demo (tutorial/04-gui/main.c) that demonstrates the GUI usage. Also add ARRAY_SIZE macro to sdk/osle.h and adjust file modes for sdk/occ and sdk/pack.
@shikaan
Copy link
Copy Markdown
Owner

shikaan commented Apr 8, 2026

Hey @Ramazanenescik04

Apologies for the late turnaround - I somehow missed the notification for this pull request. I will run the code, do a deep review over the weekend, and come back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants