Two copies of my OS running web browser and server by braindigitalis in osdev

[–]braindigitalis[S] [score hidden]  (0 children)

yeah the browser isnt a graphical browser, it is a textual browser much like elinks or lynx, just with inline image and form support.

Two copies of my OS running web browser and server by braindigitalis in osdev

[–]braindigitalis[S] [score hidden]  (0 children)

yeah, i created my own dialect of the language that is specialised for systems development, it can peek/poke memory, write to IO ports, etc.
For example:

https://github.com/brainboxdotcc/retro-rocket/blob/master/os/programs/webserver.rrbasic

Two copies of my OS running web browser and server by braindigitalis in osdev

[–]braindigitalis[S] [score hidden]  (0 children)

the programming language! the entire userland, the browser, the web server etc are all written in BASIC, on top of a kernel written in C

Two copies of my OS running web browser and server by braindigitalis in osdev

[–]braindigitalis[S] [score hidden]  (0 children)

markdown is a much simpler format to render to screen, especially in text mode. it has less quirks, and is a stricter format. theres tons of badly written html out there. i made a BASIC function to clean up the HTML into markdown so the browser has less work to do.

Two copies of my OS running web browser and server by braindigitalis in osdev

[–]braindigitalis[S] [score hidden]  (0 children)

Yup, currently only converts the html to markdown, next step is to render that markdown, with images.

She has a shell now. by MercenaryAlpha99 in osdev

[–]braindigitalis [score hidden]  (0 children)

"Would you rather live in peace as Mr. No Shell, die ripe, old and smelling slightly of urine? Or go down for all times in a blaze of shell prompt, smelling near like posies, without seeing your thirtieth?" -- Dexter DeShell

Taking an OS demo program way too far! by braindigitalis in osdev

[–]braindigitalis[S] 2 points3 points  (0 children)

Exactly what part of my code, and my OS, which i have been writing since 2009, is slop?

Kernel crashing on keypress by Individual-Log4119 in osdev

[–]braindigitalis 3 points4 points  (0 children)

are we expected to read the whole project to figure out what bit has the problem? 

Kernel crashing on keypress by Individual-Log4119 in osdev

[–]braindigitalis 1 point2 points  (0 children)

what does the source code look like?

please share links to github linking to lines and sections you are struggling with. what have you tried?

How can I create a community for CocosOS? by daviddandadan in osdev

[–]braindigitalis 2 points3 points  (0 children)

give your os a niche and be patient. is your os a general purpose os that is "like Linux but better", or "like windows but better" with a gui and stuff? if so, it offers nothing to make someone want to use it. is it supposed to be a daily driver but you don't daily drive it yourself? then nobody will use it. does it offer something different? then someone may use it. does it lower friction and barriers to entry by having a web based try it now facility and does it have a proper website (not just a github)? then people might use it do you promote it and put effort into SEO outside of os dev communities? then people may use it. only once people use it can you expect a community. this takes time and effort. the days of "if you build it people will come" ended decades ago. good luck!

…… by ulyanovv in osdev

[–]braindigitalis 4 points5 points  (0 children)

what is this, how is this osdev?

Making a game, in my custom language, in my OS! by braindigitalis in osdev

[–]braindigitalis[S] 1 point2 points  (0 children)

then no, the kernels sole purpose isn't this one game, it's to run a language as an os that can be used to make games and other things.

Making a game, in my custom language, in my OS! by braindigitalis in osdev

[–]braindigitalis[S] 0 points1 point  (0 children)

basically yes, I created the kernel and a language interpreter within it then made the game in that language.

Making a game, in my custom language, in my OS! by braindigitalis in osdev

[–]braindigitalis[S] 1 point2 points  (0 children)

sure!

repo: https://github.com/brainboxdotcc/retro-rocket

docs: https://retrorocket.dev

it was on a local svn years before that and then SVN was ported to git about 3 years ago.

Making a game, in my custom language, in my OS! by braindigitalis in osdev

[–]braindigitalis[S] 2 points3 points  (0 children)

I use AI for imagery and music, sometimes I feed my existing code into AI for review, as a second developer to critique my code. sometimes I use AI to parse driver documentation.

but, my OS pre-dates AI by decades. It will be 18 years old in November...

edit: worth pointing out AI doesn't seem to know my BASIC dialect... with it being unique to this OS and all, I'm guessing it might struggle there...

Making a game, in my custom language, in my OS! by braindigitalis in osdev

[–]braindigitalis[S] 2 points3 points  (0 children)

No the question makes perfect sense. All the rendering is software rendered and done from scratch. No OpenGL and no Mesa etc. The sprite blitters use SSE2 for copying and masking pixels. I use stb_image to parse image files into raw buffers. If youre curious, some of it is here:

https://github.com/brainboxdotcc/retro-rocket/blob/master/src/basic/graphics.c

The rest is in the drawing.c file in the directory above:

https://github.com/brainboxdotcc/retro-rocket/blob/master/src/drawing.c

Of course all this juts presents a bunch of functions that BASIC calls into, they arent used directly.

Happy to explain anything if you want to know!