Derrick 0.0.2 released, please test!

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

Thanks Dex for your response. AnonymOS ? That sounds familiar :)
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

inflater wrote:Thanks Dex for your response. AnonymOS ? That sounds familiar :)
If you have not seen it, its here: http://www.dex4u.com/pascal/AnonymOS.zip
I have been looking into using "pascal pro" to make pascal coded programs to run on DexOS, It maybe worth a look http://www.fortunecity.com/skyscraper/sql/39/
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

AnonymOS couldn't compile properly, the qbasic part shows "Input past end of file".

Is out there any normal barebone freepascal OS? :(
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

Well, that's it. I'm done. I'm not going to speculate through a "OS" which doesn't even show the "hello world" message in protected mode pascal environment.

Development halted until at least 1st august 2008.
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Post by 01000101 »

well that was quick.
=)
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

@inflater, Why do you not use Fasm's macro to code your OS in a pascal type language ?.
Here is a simple example of use them for a basic type language, it would be just as simple to do a pascal example.
As you are a good asm programmer.

Code: Select all

macro PRINT String{

        local .Printer
        local .Nextchar
        local .Done
        local .a

        .Printer:
                mov si, .a
                mov ah, 0Eh
                jmp .Nextchar

        .Nextchar:
                lodsb
                or al, al
                jz .Done
                int 10h
                jmp .Nextchar
                jmp .Done

        .a db String,10,13,0

        .Done:
}  

macro SCREEN mode
{
	push ax

	if mode = 0
		mov ah,0h		;SCREEN 0; Default DOS screen mode
		mov al,3h
		int 10h
	else if mode = 13
		mov ah,0h		;SCREEN 13; VGA
		mov al,13h
		int 10h
	end if

	pop ax
}

macro SLEEP
{
	;Output:
	;ah = BIOS scancode of key pressed
	;al = ASCII character of key pressed
	;Could have also used...
	;	mov ah,8h
	;	int 21h
	mov ah,0h
	int 16h
}

macro END
{
	mov ax,4Ch	;\END
	int 21h		;/
}

macro LOCATE row,col
{
	pusha

	mov ah,2		;Function 2
	mov bh,0		;Use page 0
	mov dh,row	;row
	mov dl,col		;col
	int 10h

	popa
}
And then you can do this:

Code: Select all

	SCREEN 0
	LOCATE 5,5
	PRINT "Hello World"
	SLEEP
	END
Note: This example is to run on Dos, but it could be any OS etc.
PS: Inline would be very easy too ;) .
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

Okay, I was yesterday a bit fed up with it... I'm not cancelling it right now.

We won against Norway in hockey 5:1! 8) This tuesday, we will be against Germany. :)

//EDIT: Fixed "thursday" with "tuesday". :D
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Post by 01000101 »

I thought you might have been overreacting a bit lol.

and hockey ROCKS. that's one perk of living in a place where winter lasts 8/12 months lol.
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

Change of the plans, Dex is right. I've not managed to run the pascal kernel correctly, it created the same error (push bp, mov bp,sp, cmp ecx, blahblah, clc, .. physical memory error) and I couldn't compile it by using TASM now, because the source has changed.

I'm starting my OS in FASM now using some macros.

Regards
inflater
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

Well, since there isn't any PC game for me to accomplish, I'm oficially starting Patlock development today.

Planned features for Patlock 0.0.1:
-32bit singletasking monolithic kernel, focused on stability
-switching on the fly between real mode and pmode without trashing registers like EAX, EBX, ESI etc. (they are restored after the switch)
-some diagnostic stuff, limited APM 1.2 support

//EDIT:
@AJ: Yes, I need the two high voltage transformers from them.
Last edited by inflater on Thu Jun 12, 2008 8:36 am, edited 1 time in total.
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

inflater wrote:Working on: Tesla Coil
Current status: Trying to find two unused microwaves
:shock:
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Re: Patlock [Current version: 0.0.1]

Post by inflater »

Patlock should be released any time now.. :)
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Re: Patlock [Current version: 0.0.1]

Post by Jeko »

Your website isn't very beautiful...
Why you don't do a better site?
If you don't know HTML, CSS, PHP or ASP you can also use a CMS. (I suggest Drupal or also Wordpress)
Rewriting virtual memory manager - Working on ELF support - Working on Device Drivers Handling

http://sourceforge.net/projects/jeko - Jeko Operating System
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Re: Patlock [Current version: 0.0.1]

Post by inflater »

Well, I dislike CMS systems, here's a example that proves it: http://portixos.xf.cz (my former OS site), and you're right: I don't know html/php/css. Why should a Pascal/ASM programmer know HTML? :twisted:
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Re: Patlock [Current version: 0.0.1]

Post by Jeko »

inflater wrote:Well, I dislike CMS systems, here's a example that proves it: http://portixos.xf.cz (my former OS site), and you're right: I don't know html/php/css. Why should a Pascal/ASM programmer know HTML? :twisted:
Why you dislike CMS systems? (I'm writing a commercial CMS system :mrgreen: )
However if you want I can write a site for you (of course gratis :D)
Rewriting virtual memory manager - Working on ELF support - Working on Device Drivers Handling

http://sourceforge.net/projects/jeko - Jeko Operating System
Post Reply