Post subject: Re: Dreckig OS v0.04 Posted: Fri Mar 16, 2012 11:49 pm
Amateur Beta Collector
Joined Fri Dec 24, 2010 11:12 pm
Posts 179
Location /dev/chair
Favourite OS DreckigOS v0.007 Alpha
Just put up the newest release of Dreckig OS. v0.006! Highlights include a working RAM disk in bFS, a custom file system I designed. Also task and lang can now handle files.
Try this: (do not type , or hit enter. Instead hit enter key) -Boot Dreckig OS. -Type dte, hit enter -Type test, hit enter -Type time, hit enter -Type date, hit enter -Type info, hit enter -Type quit, hit enter This makes a script called test that will print the time, date, and run info. Now just type test at the command line and it will run the script.
For lang try this: (same as above) -Type dte, hit enter -Type test2, hit enter -Type Time: >, hit enter -Type # time, hit enter -Type Name? >, hit enter -Type <, hit enter -Type var >, hit enter -Type quit, hit enter This makes a Dreckig Lang file that you can run in lang. Now just type lang, then when prompted for a NAME> type test2.
Oh! And a big bug that I hadn't yet identified! Due to a small design oversight early in development I never set up Dreckig to handle back spaces. So if you use a backspace it messes stuff up. UPDATE: Just got a reply and fix. Net release will be backspace compliant. v0.006 still won't work with backspaces, though.
Post subject: Re: Dreckig OS Posted: Sat Mar 31, 2012 5:12 am
Amateur Beta Collector
Joined Fri Dec 24, 2010 11:12 pm
Posts 179
Location /dev/chair
Favourite OS DreckigOS v0.007 Alpha
Ok. Just put up the new release, v0.006.2 of Dreckig OS. I added a some functionality to lang. For example, here is a file called test:
Code:
?> < # var run test
Write this in dte, and run in lang and it makes an infinite loop that can function as a command line! I am working on gearing Dreckig Lang, the language lang interprets, towards making custom user interfaces in Dreckig OS.
Post subject: Re: Dreckig OS Posted: Wed Apr 11, 2012 9:04 pm
Newbie Beta Collector
Joined Wed Apr 11, 2012 8:54 pm
Posts 2
Favourite OS HDOS 3.02
This is pretty cool. I haven't had a chance to look at the assembly yet; I saw someone has already tested with 8086 but had an invalid opcode. I have an old PC-XT that I'm currently working on. I'll have to load a copy onto the 360k floppy and give that a shot. It'll probably choke on the 8088, too, but might be an interesting study and will most definitely help refresh my very poor assembly language.
Post subject: Re: Dreckig OS Posted: Sat Apr 14, 2012 1:16 am
Amateur Beta Collector
Joined Fri Dec 24, 2010 11:12 pm
Posts 179
Location /dev/chair
Favourite OS DreckigOS v0.007 Alpha
Ok. Just put up the newest version of Dreckig OS. Has a few tweaks to the file system, and I integrated the LANG interpreter into the default shell, so you can run commands in Dreckig Lang direct from the shell. I also put up a Dreckig Lang interpreter I wrote in perl, it works on any system with perl and gcc, sadly it doesn't make software Dreckig OS can use, but it is still fun to mess with.
Post subject: Re: Dreckig OS Posted: Tue Apr 24, 2012 12:37 am
Amateur Beta Collector
Joined Fri Dec 24, 2010 11:12 pm
Posts 179
Location /dev/chair
Favourite OS DreckigOS v0.007 Alpha
I would, but I would have to implement ACPI, which is complicated and can be different between computers. You can use the off command, which does stop Dreckig, but does not shut down the computer.
Post subject: Re: Dreckig OS Posted: Mon May 14, 2012 5:52 am
Amateur Beta Collector
Joined Tue Oct 04, 2011 5:57 am
Posts 233
Location Singapore
Favourite OS Windows 8
GAT wrote:
I would, but I would have to implement ACPI, which is complicated and can be different between computers. You can use the off command, which does stop Dreckig, but does not shut down the computer.
You cannot program an ACPI with assembly code. It is impossible to do so.
Post subject: Re: Dreckig OS Posted: Tue May 15, 2012 2:31 am
Guru Beta Collector
Joined Tue Jul 27, 2010 2:12 am
Posts 754
Location C:\
Favourite OS Windows 7, Windows XP SP3...
Testing this out in Virtualbox right now. Not bad! 3 things:
1. I see a typo in the info command. It shoudl be copyright, not copywrite, 2. WIND is an interesting GUI, but I'm not sure how to use it. 3. I suggest you implement a color command, that changes the color of the text and background of the OS. Similar to the MSDOS color command in Windows, I guess.
Post subject: Re: Dreckig OS Posted: Tue May 15, 2012 3:37 am
Amateur Beta Collector
Joined Fri Dec 24, 2010 11:12 pm
Posts 179
Location /dev/chair
Favourite OS DreckigOS v0.007 Alpha
Arghh! I am once again a victim of the English language.
Anyway, thanks for looking at Dreckig. WIND, instead of using the mouse, uses the up/down arrows on the keyboard, you use them to select an icon in the icon bar, and then use enter to launch the icon. Also, you can hit the space bar to use the command input box at the top.
Post subject: Re: Dreckig OS Posted: Tue May 15, 2012 5:02 am
Guru Beta Collector
Joined Tue Jul 27, 2010 2:12 am
Posts 754
Location C:\
Favourite OS Windows 7, Windows XP SP3...
GAT wrote:
WIND, instead of using the mouse, uses the up/down arrows on the keyboard, you use them to select an icon in the icon bar, and then use enter to launch the icon. Also, you can hit the space bar to use the command input box at the top.
What are WIND's features? What is it for? A file manager? Task Manager?
Post subject: Re: Dreckig OS Posted: Wed May 16, 2012 12:14 am
Amateur Beta Collector
Joined Fri Dec 24, 2010 11:12 pm
Posts 179
Location /dev/chair
Favourite OS DreckigOS v0.007 Alpha
Mainly, WIND is just a GUI demo right now. WIND has the capabilities of making windows, dialogs, input boxes, and some other basic GUI features. But right now I have it set up to have a bouncing ball demo, a few ways to access the command line, an info box, and a way to exit to the CLI.
Post subject: Re: Dreckig OS Posted: Sat May 26, 2012 12:17 am
Amateur Beta Collector
Joined Fri Dec 24, 2010 11:12 pm
Posts 179
Location /dev/chair
Favourite OS DreckigOS v0.007 Alpha
Finally, Here is the much-delayed next release of Dreckig OS. v0.006.4 I am pushing now more toward improving the programming language, Dreckig Lang, so I removed WIND, and did quite a lot of work on LANG and bFS. I have now put in file handling for Dreckig Lang, and a few tweaks to accommodate for it. If anyone is mad I removed WIND, then speak now! Seriously, if you want to see WIND back up then tell me, I can set you up to fork and start developing WIND further. I will return to my GUI one day, just right now there are bigger priorities.
Post subject: Re: Dreckig OS Posted: Sun Jun 03, 2012 6:51 am
Pro Beta Collector
Joined Thu Jul 01, 2010 1:08 pm
Posts 397
Location Over here!
Favourite OS AMI BIOS
GAT wrote:
I would, but I would have to implement ACPI, which is complicated and can be different between computers. You can use the off command, which does stop Dreckig, but does not shut down the computer.
Why not use APM, then? It's pretty easy.
_________________ Helping you help us help you help us all. 21686148-6449-6E6F-744E-656564454649
Post subject: Re: Dreckig OS Posted: Wed Jun 06, 2012 5:23 pm
Pro Beta Collector
Joined Thu Jul 01, 2010 1:08 pm
Posts 397
Location Over here!
Favourite OS AMI BIOS
Code:
;shutdown command cmd_poweroff: mov ax, shutdown_title mov bx, shutdown_question mov dx, 1 call msgbox_yesno cmp ax, 0 je .shutdown_start jmp cmd_main .shutdown_start: mov ax,5300h ; We are checking for installation of APM (00h) xor bx,bx ; APM BIOS call. (0000h) int 15h jnc .check_sig writeln "APM not present." jmp cmd_main .check_sig: cmp bx,504Dh ; check signature 'PM' je .check_ver writeln "APM signature not valid." jmp cmd_main .check_ver: cmp ax,0101h ; Also, we need APM version 1.1+ jae .check_state writeln "APM 1.1+ not supported." jmp cmd_main .check_state: test cx,8 ; bit 3 means APM BIOS Power Management is disabled jz .connect writeln "Power management disabled, sorry!" jmp cmd_main .connect: mov ax,5301h ; APM Real Mode Interface Connection Argument (01h) xor bx,bx ; APM BIOS Call (0000h) int 15h jnc .connect_ok writeln "APM RM interface connect failed." jmp cmd_main .connect_ok: mov ax,530Eh ; Check APM Driver Version (0Eh) xor bx,bx ; APM BIOS Call (0000h) mov cx,0101h ; APM Driver version 1.1 int 15h jnc .apm0101_check writeln "APM 1.1+ not supported." jmp cmd_main .apm0101_check: cmp cx,0101h ; APM Connection version set jae .apm0101_ok writeln "APM 1.1+ not supported." jmp cmd_main .apm0101_ok: mov ax,5307h ; Set Power State to (53)07h mov bx,0001h ; All devices power managed by the APM BIOS - ENGAGED mov cx,0003h ; Power state off. int 15h jnc .off jmp .poweroff_failed .off: ret .poweroff_failed: writeln "You don't exist. Go away." cli hlt
Maybe this could help you? It's code from CORE OS, I was figuring out how to do it for about 1 week
writeln "" is a macro I wrote to save time for writing "mov si, msg_blahblash [...]". If you want it, just let me know. I think you know how to replace it with DBs and print_string function?
_________________ Helping you help us help you help us all. 21686148-6449-6E6F-744E-656564454649
Post subject: Re: Dreckig OS Posted: Fri Jun 08, 2012 4:26 am
Amateur Beta Collector
Joined Tue Oct 04, 2011 5:57 am
Posts 233
Location Singapore
Favourite OS Windows 8
Ciastex wrote:
Code:
;shutdown command cmd_poweroff: mov ax, shutdown_title mov bx, shutdown_question mov dx, 1 call msgbox_yesno cmp ax, 0 je .shutdown_start jmp cmd_main .shutdown_start: mov ax,5300h ; We are checking for installation of APM (00h) xor bx,bx ; APM BIOS call. (0000h) int 15h jnc .check_sig writeln "APM not present." jmp cmd_main .check_sig: cmp bx,504Dh ; check signature 'PM' je .check_ver writeln "APM signature not valid." jmp cmd_main .check_ver: cmp ax,0101h ; Also, we need APM version 1.1+ jae .check_state writeln "APM 1.1+ not supported." jmp cmd_main .check_state: test cx,8 ; bit 3 means APM BIOS Power Management is disabled jz .connect writeln "Power management disabled, sorry!" jmp cmd_main .connect: mov ax,5301h ; APM Real Mode Interface Connection Argument (01h) xor bx,bx ; APM BIOS Call (0000h) int 15h jnc .connect_ok writeln "APM RM interface connect failed." jmp cmd_main .connect_ok: mov ax,530Eh ; Check APM Driver Version (0Eh) xor bx,bx ; APM BIOS Call (0000h) mov cx,0101h ; APM Driver version 1.1 int 15h jnc .apm0101_check writeln "APM 1.1+ not supported." jmp cmd_main .apm0101_check: cmp cx,0101h ; APM Connection version set jae .apm0101_ok writeln "APM 1.1+ not supported." jmp cmd_main .apm0101_ok: mov ax,5307h ; Set Power State to (53)07h mov bx,0001h ; All devices power managed by the APM BIOS - ENGAGED mov cx,0003h ; Power state off. int 15h jnc .off jmp .poweroff_failed .off: ret .poweroff_failed: writeln "You don't exist. Go away." cli hlt
Maybe this could help you? It's code from CORE OS, I was figuring out how to do it for about 1 week
writeln "" is a macro I wrote to save time for writing "mov si, msg_blahblash [...]". If you want it, just let me know. I think you know how to replace it with DBs and print_string function?
Post subject: Re: Dreckig OS Posted: Fri Jun 08, 2012 12:03 pm
1337 Beta Collector
Joined Wed Sep 28, 2011 9:31 am
Posts 1198
Favourite OS Windows 8 Pro MCE
Terra854 wrote:
Have you ever tested the code?
One would think so, and this is a real custom OS (as far as I know). But I can't remember seeing this before, I need to check this out. I remember some other OS, but I don't think it was drecking, and it looked different, I need to test this and see if the other project has had any progress. Maybe Sunday.
Post subject: Re: Dreckig OS Posted: Fri Jun 08, 2012 12:17 pm
Pro Beta Collector
Joined Thu Jul 01, 2010 1:08 pm
Posts 397
Location Over here!
Favourite OS AMI BIOS
john11 wrote:
Terra854 wrote:
Have you ever tested the code?
One would think so, and this is a real custom OS (as far as I know). But I can't remember seeing this before, I need to check this out. I remember some other OS, but I don't think it was drecking, and it looked different, I need to test this and see if the other project has had any progress. Maybe Sunday.
FZ/OS, CiastOS, HeinanOS, CORE OS and of course DreckigOS, they're all written from scratch with assembly (HeinanOS is written in C/C++ and some Assembly, if I remember it).
_________________ Helping you help us help you help us all. 21686148-6449-6E6F-744E-656564454649
Post subject: Re: Dreckig OS Posted: Fri Jun 08, 2012 12:23 pm
1337 Beta Collector
Joined Wed Sep 28, 2011 9:31 am
Posts 1198
Favourite OS Windows 8 Pro MCE
Ciastex wrote:
john11 wrote:
Terra854 wrote:
Have you ever tested the code?
One would think so, and this is a real custom OS (as far as I know). But I can't remember seeing this before, I need to check this out. I remember some other OS, but I don't think it was drecking, and it looked different, I need to test this and see if the other project has had any progress. Maybe Sunday.
FZ/OS, CiastOS, HeinanOS, CORE OS and of course DreckigOS, they're all written from scratch with assembly (HeinanOS is written in C/C++ and some Assembly, if I remember it).
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum
All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.