This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-11-20 13:44:56

msdosdude
Scratcher
Registered: 2009-06-11
Posts: 1000+

Freebie Operating System

AWESOME NEWS: Romtoc (not on Scratch) has made us a mirror site! http://bucuresti.romtoc.net/mirrors/freebie/!

Hey guys, I'm making an OS called Freebie in assembly. I just started it today (11-20-11), so it isn't much yet.

Support us!
Put this in your signature to help support us!

Code:

[url=http://scratch.mit.edu/forums/viewtopic.php?id=81239][img]http://i39.tinypic.com/2vkxppf.png[/img][/url]
Freebie. Not a Scratch OS, a [i]REAL[/i] OS you can boot to, by msdosdude.

Website:
freebieos.tk (freebie.goodluckwith.us)

How to edit:
Download an 8086 assembly editor (such as emu8086) and open the .asm file in the source. That's all you have to do!

Download source:
Version 0.0.2: http://freebie.goodluckwith.us/0.0.2/fr … rce002.zip
Version 0.0.1: http://freebie.goodluckwith.us/0.0.1/fr … rce001.zip

Credits to How To Do Things!

Last edited by msdosdude (2011-11-22 15:45:40)


http://i39.tinypic.com/2vkxppf.png
Freebie. Not a Scratch OS, a REAL OS you can boot to, by msdosdude.

Offline

 

#2 2011-11-20 13:48:44

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Freebie Operating System

Sounds cool!


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#3 2011-11-20 13:49:20

msdosdude
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Freebie Operating System

slinger wrote:

Sounds cool!

Thanks.


http://i39.tinypic.com/2vkxppf.png
Freebie. Not a Scratch OS, a REAL OS you can boot to, by msdosdude.

Offline

 

#4 2011-11-20 13:49:43

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Freebie Operating System

How does it work?


Posts: 20000 - Show all posts

Offline

 

#5 2011-11-20 13:57:07

msdosdude
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Freebie Operating System

veggieman001 wrote:

How does it work?

Code:

org 100h


; directive to create BOOT file:
#MAKE_BOOT#

; Boot record is loaded at 0000:7C00,
; so inform compiler to make required
; corrections:
ORG 7C00h

; load message address into SI register:
LEA SI, msg

; teletype function id:
MOV AH, 0Eh

print: MOV AL, [SI]
CMP AL, 0
JZ done
INT 10h ; print using teletype.
INC SI
JMP print

; wait for 'any key':
done: MOV AH, 0
INT 16h

; store magic value at 0040h:0072h:
; 0000h - cold boot.
; 1234h - warm boot.
MOV AX, 0040h
MOV DS, AX
MOV w.[0072h], 0000h ; cold boot.

JMP 0FFFFh:0000h ; reboot!

new_line EQU 13, 10

msg DB 'Welcome to Freebie!'      
DB new_line, 'This is made possible by many people! You can help by adding to the source code!'
DB new_line, 'Press any key to reboot this computer.', 0

ret

Basically, since it is so simple right now, it has a simple script (which BTW you can boot to if you put it on a floppy!) which includes the boot record (needed to boot to), and some lines of code that tell it to print some text on the screen.


http://i39.tinypic.com/2vkxppf.png
Freebie. Not a Scratch OS, a REAL OS you can boot to, by msdosdude.

Offline

 

#6 2011-11-20 13:57:52

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Freebie Operating System

What language is that?


Posts: 20000 - Show all posts

Offline

 

#7 2011-11-20 14:00:09

msdosdude
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Freebie Operating System

veggieman001 wrote:

What language is that?

msdosdude wrote:

called Freebie in assembly


http://i39.tinypic.com/2vkxppf.png
Freebie. Not a Scratch OS, a REAL OS you can boot to, by msdosdude.

Offline

 

#8 2011-11-20 14:01:40

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Freebie Operating System

msdosdude wrote:

veggieman001 wrote:

What language is that?

msdosdude wrote:

called Freebie in assembly

But there are different types of assembly...


Posts: 20000 - Show all posts

Offline

 

#9 2011-11-20 14:02:52

msdosdude
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Freebie Operating System

veggieman001 wrote:

msdosdude wrote:

veggieman001 wrote:

What language is that?

msdosdude wrote:

called Freebie in assembly

But there are different types of assembly...

8086


http://i39.tinypic.com/2vkxppf.png
Freebie. Not a Scratch OS, a REAL OS you can boot to, by msdosdude.

Offline

 

#10 2011-11-20 14:03:45

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Freebie Operating System

msdosdude wrote:

veggieman001 wrote:

msdosdude wrote:

veggieman001 wrote:

What language is that?

But there are different types of assembly...

8086

Oh okay.


Posts: 20000 - Show all posts

Offline

 

#11 2011-11-20 15:25:56

msdosdude
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Freebie Operating System


http://i39.tinypic.com/2vkxppf.png
Freebie. Not a Scratch OS, a REAL OS you can boot to, by msdosdude.

Offline

 

#12 2011-11-20 15:56:29

msdosdude
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Freebie Operating System

0.0.2 out!


http://i39.tinypic.com/2vkxppf.png
Freebie. Not a Scratch OS, a REAL OS you can boot to, by msdosdude.

Offline

 

#13 2011-11-20 16:41:07

SpriteMaster
Scratcher
Registered: 2009-01-25
Posts: 1000+

Re: Freebie Operating System

Looks purdy,


`                        Click here for my YouTube channel!                        `http://i.imgur.com/4Qz3I.jpg

Offline

 

#14 2011-11-20 17:23:10

msdosdude
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Freebie Operating System

SpriteMaster wrote:

Looks purdy,

Thanks.


http://i39.tinypic.com/2vkxppf.png
Freebie. Not a Scratch OS, a REAL OS you can boot to, by msdosdude.

Offline

 

#15 2011-11-20 20:37:13

msdosdude
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Freebie Operating System

So nobody else is interested in a new homebrew OS?


http://i39.tinypic.com/2vkxppf.png
Freebie. Not a Scratch OS, a REAL OS you can boot to, by msdosdude.

Offline

 

#16 2011-11-20 20:49:54

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Freebie Operating System

How do I use it?


Posts: 20000 - Show all posts

Offline

 

#17 2011-11-20 20:53:35

msdosdude
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Freebie Operating System

veggieman001 wrote:

How do I use it?

Well, you have to compile it and put it on a floppy, or you can use the emulator in emu8086.

Last edited by msdosdude (2011-11-27 13:54:20)


http://i39.tinypic.com/2vkxppf.png
Freebie. Not a Scratch OS, a REAL OS you can boot to, by msdosdude.

Offline

 

#18 2011-11-20 21:11:29

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Freebie Operating System

Yeah but what if I don't have any compatible floppies I'm not using? Huh?!


Posts: 20000 - Show all posts

Offline

 

#19 2011-11-21 04:07:41

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Freebie Operating System

msdosdude wrote:

veggieman001 wrote:

How does it work?

Code:

org 100h


; directive to create BOOT file:
#MAKE_BOOT#

; Boot record is loaded at 0000:7C00,
; so inform compiler to make required
; corrections:
ORG 7C00h

; load message address into SI register:
LEA SI, msg

; teletype function id:
MOV AH, 0Eh

print: MOV AL, [SI]
CMP AL, 0
JZ done
INT 10h ; print using teletype.
INC SI
JMP print

; wait for 'any key':
done: MOV AH, 0
INT 16h

; store magic value at 0040h:0072h:
; 0000h - cold boot.
; 1234h - warm boot.
MOV AX, 0040h
MOV DS, AX
MOV w.[0072h], 0000h ; cold boot.

JMP 0FFFFh:0000h ; reboot!

new_line EQU 13, 10

msg DB 'Welcome to Freebie!'      
DB new_line, 'This is made possible by many people! You can help by adding to the source code!'
DB new_line, 'Press any key to reboot this computer.', 0

ret

Basically, since it is so simple right now, it has a simple script (which BTW you can boot to if you put it on a floppy!) which includes the boot record (needed to boot to), and some lines of code that tell it to print some text on the screen.

lol this seems cool and i found where u got that code  tongue


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#20 2011-11-21 14:28:19

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Freebie Operating System

nathanprocks wrote:

lol this seems cool and i found where u got that code  tongue

Sorry dude (msdosdude) but after this statement, this isn't that cool after all  sad


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#21 2011-11-24 16:57:58

cocolover76
Scratcher
Registered: 2011-10-09
Posts: 500+

Re: Freebie Operating System

veggieman001 wrote:

Yeah but what if I don't have any compatible floppies I'm not using? Huh?!

Compile it into a .ISO and make a empty virtual PC in VirtualBox, and finally, load the .ISO into the virtual machine.


http://i.imgur.com/HfEPZ.gifhttp://i.imgur.com/pvKb6.png

Offline

 

#22 2011-11-24 19:35:29

WindozeNT
Scratcher
Registered: 2010-06-05
Posts: 1000+

Re: Freebie Operating System

msdosdude wrote:

veggieman001 wrote:

How does it work?

Code:

org 100h


; directive to create BOOT file:
#MAKE_BOOT#

; Boot record is loaded at 0000:7C00,
; so inform compiler to make required
; corrections:
ORG 7C00h

; load message address into SI register:
LEA SI, msg

; teletype function id:
MOV AH, 0Eh

print: MOV AL, [SI]
CMP AL, 0
JZ done
INT 10h ; print using teletype.
INC SI
JMP print

; wait for 'any key':
done: MOV AH, 0
INT 16h

; store magic value at 0040h:0072h:
; 0000h - cold boot.
; 1234h - warm boot.
MOV AX, 0040h
MOV DS, AX
MOV w.[0072h], 0000h ; cold boot.

JMP 0FFFFh:0000h ; reboot!

new_line EQU 13, 10

msg DB 'Welcome to Freebie!'      
DB new_line, 'This is made possible by many people! You can help by adding to the source code!'
DB new_line, 'Press any key to reboot this computer.', 0

ret

Basically, since it is so simple right now, it has a simple script (which BTW you can boot to if you put it on a floppy!) which includes the boot record (needed to boot to), and some lines of code that tell it to print some text on the screen.

This could help me with writing WindozeNT Software Operating System...


http://i48.tinypic.com/rlyo80.png
Ever since Misc was killed, I've pretty much stopped going to Scratch Forums...

Offline

 

#23 2011-11-27 13:55:02

msdosdude
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Freebie Operating System

slinger wrote:

nathanprocks wrote:

lol this seems cool and i found where u got that code  tongue

Sorry dude (msdosdude) but after this statement, this isn't that cool after all  sad

I'm gonna dump that code after I learn more assembly.


http://i39.tinypic.com/2vkxppf.png
Freebie. Not a Scratch OS, a REAL OS you can boot to, by msdosdude.

Offline

 

#24 2011-11-28 07:38:16

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: Freebie Operating System

Really cool. That website you got help from is really old. You know assembly Operating Systems can be booted without a floppy right? I am going to try it with a disk...


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#25 2011-11-28 07:41:57

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: Freebie Operating System

Wait a second... Assembly 8086 isn't used anymore!
It only existed to right for a really old computer processor!
Intel 8086


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

Board footer