#Arc-XINUS
1 messages · Page 1 of 1 (latest)
because it uses a different version of python, that has GUI (pygame based)
so i linked it using exec
but if it's the same language, then all of your syntax highlighting and autocomplete and everything will work the same
it helps devs when coding for this thing to not have to use sc.text and stuff so it saves time
unless you're using very different definitions to what I'm used to, that sentence doesn't describe a real thing that people do or can do
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
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"
but the compiler is still linked to the install
sc means screen, and text means well, text it prints onto the screen
I believe you can change what sys.stdout points to, but it's been a while
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...
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
python's built in GUI (tkinter) won't help with what i'm trying to do
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.
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
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
do you not have a git repo?
...you're aware that xapps aren't fundamentally different from python scripts in any way shape or form, right?
you don't need pytoxapp
yeah, Arc's Xapps are a bit different, i'm planning to split them
SdMaxSize/1000
this should be/1024
alr
okay i got it, i just fixed the code in Arc
why the two- and three-letter function names? trust me, you're not doing yourself any favors with this
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
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
but i don't know anything about C or ASM
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
dont worry there are only like 3 cool projects in this entire server
lots more for eyes to see :)
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
- you don't necessarily need to
- you can learn
I jumped straight from python to C
you can do it too
i made a mock os in visual basic when i was a kid
been more than a decade now
lol
wait BASIC??? on the 3DS??
am I the only one here who just did actual things instead of doing the mock ones
who said anything about the 3ds? and no, visual basic is different
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?
this thing
I made some really basic userspace programs but slowly shifted to more "low level" stuff like shells since I was always interested in that
usually you learn C first
First you should make a few projects in C to get the hang of it
there's a roadmap of sorts here #curated-resources message
And learn the basics of how computers work under the hood
first you should learn how to program
also, y'all, I've got it, thanks
✅ knows python at least moderately well, and seems to have a good grasp on programming concepts
assuming it's not vibecoded, which it didn't look like it was
i didnt look at the source code yet
I make too many cpu-like things, could i at least show you one?
let me check
cpu-like things?
i dont see anything relating to cpu simulations at all here
that's very different from how I would've done it but yeah, that is sort of an emulator
i like to reuse XINUS's GUI instead of building it from scratch
I'm not sure you understand what threading does though
nvm discord didnt show the full thing
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
i kept it unless i needed to use it
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
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
this is more of a high level VM but you do got it
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
I mean a VM is a cpu simulation, they're just usually not very faithful to how real CPUs work
you don't worry about a gui yet, is the answer
you would probably struggle to make the gui parts in C and i wouldnt recommend it
just make it terminal based
alr
actually that's not too bad
the emulator development server would be useful here
well theres raylib and stuff that might make it easier
yeah, there's tons and tons of gui libraries for C
i usually rawdog opengl/vulkan + glfw so
if you first get a decent grasp on using C, then read the documentation, it's not hard to use any of them
yeah basically
damn
???
use C 😭
you're not helping
read literally ANY of the previous convo
please
okay, i will, one more question though, is it posible to make it compleatly in C?
Yes
an actual OS? or do you mean an emulator
I've got it, thanks
an OS
two answers doesn't make it any more true
no, you will need a little bit of assembly
you don't need to be super strong in assembly as long as you are able to read documentation and understand programming
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 🙁
X86 and X86_64 assembly should be a great start
writing a bootloader is not a great idea
and WSL is too big for my PC
How? Linux is not that big, Windows can bloat it a lil bit
Yes
whats this?