#Arc-XINUS

1 messages · Page 1 of 1 (latest)

strange moon
#

if it's a stripped down version of python then... why can't you use a real IDE? and why do you even need an IDE?

#

also this isn't really an OS project, it's a mockup at best

hazy rover
#

because it uses a different version of python, that has GUI (pygame based)

#

so i linked it using exec

strange moon
hazy rover
#

it helps devs when coding for this thing to not have to use sc.text and stuff so it saves time

strange moon
hazy rover
#

sort of, the comper that turns the app into an xapp format that Arc can read uses a bunch of new stuff for new comments and keys

#

so much so that i had to remove it

#

just so that the file becomes to complex to the point that i can't understand what's happening

strange moon
#

can you try not to use shortened versions, I have no idea what "sc.text" is supposed to be, and I can only assume that by "comper" you mean "compiler"

hazy rover
#

but the compiler is still linked to the install

#

sc means screen, and text means well, text it prints onto the screen

strange moon
#

so... why not just use print

#

or sys.stdout.write

hazy rover
#

becuase, it used pygame as GUI

#

the console is hidden

#

so print won't work

strange moon
#

I believe you can change what sys.stdout points to, but it's been a while

hazy rover
#

the only time the console is shown is when i'm activly developing it so i can see errors

#

i just want some help making this thing and i want it to be realisistic, so i came here...

strange moon
#

alright, well, this doesn't seem like you're trying to actually make an OS, just a weird fork of python with a custom gui inside of pygame that tries to look like it's a new window manager

#

so I don't think any advice people here could offer would be helpful

hazy rover
#

python's built in GUI (tkinter) won't help with what i'm trying to do

strange moon
#

that's not what I was talking about

#

and technically tkinter is a toolkit

#

The tkinter package (“Tk interface”) is the standard Python interface to the Tcl/Tk GUI toolkit.

hazy rover
#

yes, but i have to rely on a built in mainloop instead of making the loop myself

#

making the loop myself makes things much easiar

#

*easier

strange moon
#

and again, this isn't really a project that anyone with this server would be able to meaningfully help with

#

even though I am, or at least was at one point, a very strong pythonista, I have no idea what either arc or xinus is, and don't really see any way that the ideas you've proposed so far could be related to os development

hazy rover
#

i can show you vanilla XINUS, i have a itch.io page for it...

strange moon
#

do you not have a git repo?

hazy rover
#

no

#

not yet

#

I'm planning to get one soon

strange moon
#

you don't need pytoxapp

hazy rover
#

yeah, Arc's Xapps are a bit different, i'm planning to split them

strange moon
#

SdMaxSize/1000
this should be /1024

hazy rover
#

alr

strange moon
#

1kb is 1024 bytes, not 1000

#

similarly, 1mb is 1024 kb, and so on

hazy rover
#

okay i got it, i just fixed the code in Arc

strange moon
#

why the two- and three-letter function names? trust me, you're not doing yourself any favors with this

hazy rover
#

that's because with one of the prototypes of the File system when you entered a command it just exects it, and i didin't want to type much, but i forgot to change it and it just stayed there XD

#

I'm changing almost everything in arc

#

and i know the errors where never printed

strange moon
#

but still, yeah, this isn't really an OS at all, doesn't belong in this server, and should at the very least be in #1008410029990367284 if you're going to make a post about it

hazy rover
#

alr

#

i'll leave

fringe stump
#

Learn OSDev

#

And make a cool os

hazy rover
#

but i don't know anything about C or ASM

strange moon
#

if you want to do osdev in the future we'll be here, but fantasy OSes (which are different from real OSes for fantasy devices) are not osdev

mortal swan
#

dont worry there are only like 3 cool projects in this entire server

strange moon
#

lots more for eyes to see :)

fringe stump
#

I also liked making mock up OS' but at some point it's worth it to learn how to actually do it since it's much more gratifying to make an actual OS

strange moon
#

I jumped straight from python to C

#

you can do it too

mortal swan
#

been more than a decade now

#

lol

hazy rover
#

wait BASIC??? on the 3DS??

strange moon
#

am I the only one here who just did actual things instead of doing the mock ones

mortal swan
#

visual basic

strange moon
hazy rover
#

alr

#

i guess i could start to learn how to make a reall OS

#

if you can do it, i can try

#

where did you start first?

mortal swan
fringe stump
strange moon
fringe stump
strange moon
#

there's a roadmap of sorts here #curated-resources message

fringe stump
#

And learn the basics of how computers work under the hood

mortal swan
#

first you should learn how to program

strange moon
#

also, y'all, I've got it, thanks

hazy rover
#

Okay, i'll start with C

#

but one more thing

strange moon
#

assuming it's not vibecoded, which it didn't look like it was

mortal swan
hazy rover
#

I make too many cpu-like things, could i at least show you one?

mortal swan
#

let me check

mortal swan
hazy rover
#

it's really hard

#

but fun

mortal swan
#

i dont see anything relating to cpu simulations at all here

strange moon
#

that's very different from how I would've done it but yeah, that is sort of an emulator

hazy rover
#

i like to reuse XINUS's GUI instead of building it from scratch

strange moon
#

I'm not sure you understand what threading does though

mortal swan
strange moon
#

it won't make your emulator any faster

#

multiprocessing is what you want if you want to actually run the code outside of a single thread

hazy rover
#

i kept it unless i needed to use it

strange moon
#

threading refers more to (one of) the old-school definition(s) of threading, which is to switch out what code is running in the current slot

hazy rover
#

there used to be a clock cycle but i scraped it

#

that's why it's still there

#

most of the time i don't clean up my code after i scrap something

mortal swan
#

i also made something like this in the past

#

it was half python half C though

#

it would be a great project to rewrite this in C

strange moon
#

I mean a VM is a cpu simulation, they're just usually not very faithful to how real CPUs work

hazy rover
#

problem, how can i rewrite in C???

#

it used Pygame for GUI

strange moon
#

you don't worry about a gui yet, is the answer

mortal swan
#

you would probably struggle to make the gui parts in C and i wouldnt recommend it

#

just make it terminal based

hazy rover
#

alr

strange moon
#

the emulator development server would be useful here

mortal swan
#

well theres raylib and stuff that might make it easier

strange moon
mortal swan
#

i usually rawdog opengl/vulkan + glfw so

strange moon
#

if you first get a decent grasp on using C, then read the documentation, it's not hard to use any of them

hazy rover
#

alr

#

thats all?

strange moon
#

yeah basically

hazy rover
#

okay, i'll make a new post

#

so i can start

#

thanks guys 🙂

fluid ridge
#

damn

hazy rover
#

???

fluid ridge
#

use C 😭

strange moon
#

read literally ANY of the previous convo

#

please

hazy rover
#

okay, i will, one more question though, is it posible to make it compleatly in C?

strange moon
#

yes

#

well

strange moon
#

an actual OS? or do you mean an emulator

strange moon
hazy rover
#

an OS

strange moon
#

two answers doesn't make it any more true

strange moon
#

you don't need to be super strong in assembly as long as you are able to read documentation and understand programming

hazy rover
#

the only thing i know is that i'll have to use ASM for the bootloader

#

but a big problem is i'm a windows user 🙁

fluid ridge
#

X86 and X86_64 assembly should be a great start

strange moon
hazy rover
#

and WSL is too big for my PC

fluid ridge
hazy rover
#

alr

#

i'll use WSL

#

now, i'm going to make a new post

fluid ridge
lethal roost
#

whats this?