Page 2 of 7

Posted: Fri May 02, 2008 11:37 am
by inflater
Thanks Dex for your response. AnonymOS ? That sounds familiar :)

Posted: Fri May 02, 2008 2:42 pm
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/

Posted: Sat May 03, 2008 12:33 pm
by inflater
AnonymOS couldn't compile properly, the qbasic part shows "Input past end of file".

Is out there any normal barebone freepascal OS? :(

Posted: Sat May 03, 2008 1:21 pm
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.

Posted: Sat May 03, 2008 1:33 pm
by 01000101
well that was quick.
=)

Posted: Sat May 03, 2008 7:30 pm
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 ;) .

Posted: Sun May 04, 2008 2:08 am
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

Posted: Sun May 04, 2008 8:09 pm
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.

Posted: Mon May 05, 2008 9:55 am
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

Posted: Thu Jun 12, 2008 8:31 am
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.

Posted: Thu Jun 12, 2008 8:35 am
by AJ
inflater wrote:Working on: Tesla Coil
Current status: Trying to find two unused microwaves
:shock:

Re: Patlock [Current version: 0.0.1]

Posted: Sat Jul 05, 2008 5:58 am
by inflater
Patlock should be released any time now.. :)

Re: Patlock [Current version: 0.0.1]

Posted: Sat Jul 05, 2008 7:39 am
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)

Re: Patlock [Current version: 0.0.1]

Posted: Sat Jul 05, 2008 7:46 am
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:

Re: Patlock [Current version: 0.0.1]

Posted: Sat Jul 05, 2008 7:49 am
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)