flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2, 3 Next |
Author |
|
ASHLEY4 26 Jul 2004, 21:11
To show that a command interpreter for realmode and pmode are very similar.
ASHLEY4. ps: you can get the source from here, for the full os (including int 20h) http://www.v2os.cx/old/ or go to my posting on here: http://board.flatassembler.net/topic.php?t=1854 |
|||
![]() |
|
Gambino 27 Jul 2004, 21:31
Nice...
Thx ASHLEY4 ![]() The V2OS is way more advanced than my os wannabe. Looking in sources maybe i'l learn something. |
|||
![]() |
|
ASHLEY4 28 Jul 2004, 00:12
That ok, Gambino,
I have started a pmode os assembled with fasm, it's not as advanced as v2os, but is made on the same idea's and shows how to set int's in pmode eg: idt etc. If it helps you can down load it from here: http://www.falconrybells.co.uk ASHLEY4. |
|||
![]() |
|
Gambino 01 Aug 2004, 08:28
Posting soon... very busy right now...
![]() Uh, yes I Am Alive if u are wondering ![]() |
|||
![]() |
|
Gambino 02 Aug 2004, 12:57
Here is the v0.5 Alpha Release....
The 'dir' command only works with FAT16 formatted harddisks. To make it boot from floppy just insert a blank dos formatted floppy and run makeboot.bat After that reboot your computer and boot from floppy. I want some reply on this... I know i have a bug but it's from the procedures macro... The procedures only accept Word or DWord, not both: Code: ;this doesn't works proc test,word,dword begin endp CAN ANYONE GIVE SOME GOOD PROC MACROS ?
Last edited by Gambino on 03 Aug 2004, 12:55; edited 1 time in total |
||||||||||||||||||||
![]() |
|
Gambino 03 Aug 2004, 17:37
Now working on graphical aspects...
GOMER73 That's not a solution... |
|||
![]() |
|
pelaillo 03 Aug 2004, 17:43
Gambino wrote: That's not a solution... ![]() I've missed something. What do you mean? |
|||
![]() |
|
Gambino 03 Aug 2004, 18:06
Quote:
|
|||
![]() |
|
ASHLEY4 04 Aug 2004, 01:02
Gambino, This is some code for vesa 1 , for real-mode, it may help your graphic code.
Code: ;Sets vesa 1, 640x480x256 for use in real-mode.; assembles in NASM (not tested with fasm);PS: No test for vesa is done in the code ,also the lables are because i love animals.mov ax,4f02h ;set vesa 1.0 screen modemov bx,101h ;640*480*256int 10hmov dx,0xa000mov ds,dx       ;sets up registerscall windowbird:xor dx,dx   ;(pages-1)cat:push dxcall windowxor bx,bxmov al, 0cchcall dogpop dxcmp dx,4je birdinc dxmov ah,01hint 16hjz cat mov ax,0003hint 10hmov ax,4c00h   ; This is just int 21h        ; for test ,take it out in your OSwindow:mov ax,4f05h  ;vesa 1 window selectmov bx,0int 10h    ;dx is the reqired windowxor bx,bxretdog:    ;(4*2^16)+45056 pixelsmov [bx],alinc bxcmp bx,$00000jne dogret \\\\|//// (@@) ASHLEY4. |
|||
![]() |
|
Gambino 04 Aug 2004, 08:15
Thx ASHLEY4 , bur VESA will be implemented later, now i'm working on TEXT mode graphics
![]() Did u look at the new release ? |
|||
![]() |
|
crc 04 Aug 2004, 11:30
For non-standard text resolutions, I like 100x30
![]() Code: mov ax,22h ; 100x30 text mode (not standard!) int 10h |
|||
![]() |
|
ASHLEY4 04 Aug 2004, 14:03
Yes i have and you are do a great job, v2os sets a none standard text mode and fonts, have you seen how they have done it ?.
I have some font for the above vesa mode when you come to do your graphic. I also have code for a command line cdplayer that runs in real-mode (does not need dos)that you can add to your next release. Let me know if you need them and keep up the good work. \\\\||//// (@@) ASHLEY4. |
|||
![]() |
|
Gambino 04 Aug 2004, 16:03
Actualy i implemented already a new font
![]() And now working on a rotine that changes resolutions Like now i'm in 80x25 standard mode, i type mode90x40 and now i am in 90x40 non standard mode ![]() ASHLEY4 any help is welcome ![]() Some one please tell me how many text modes do u know.. I know these: text pixel pixel colors disply scrn system resol box resolution pages addr 1. 40x25 9x16 360x400 16 8 B800 VGA 2. 80x25 9x16 720x400 16 8 B800 VGA 3. 80x43 8x8 640x350 16 4 B800 VGA 4. 80x50 8x8 640x400 16 4 B800 VGA 5. 80x60 VESA 6. 132x25 VESA 7. 132x43 VESA 8. 132x50 VESA 9. 132x60 VESA 10. 90x40 CRT 11.100x30 VESA ![]() Last edited by Gambino on 05 Aug 2004, 08:51; edited 1 time in total |
|||
![]() |
|
crc 05 Aug 2004, 01:07
Don't forget 100x30 VESA
|
|||
![]() |
|
Gambino 10 Aug 2004, 18:43
I'm back again.....
The next release is delayed...trying to translate everything to pmode... |
|||
![]() |
|
ASHLEY4 10 Aug 2004, 20:50
Gambino,Let me know if you need help, or maybe you could be one of the first to use "MOP" ,stand's for Module Os Project ?.
You can use the modules (include files), at compile time to get into pmode and setup gdt, idt, a20, etc, just by just including some inc files, all coded in fasm. let me know if you want to use them. \\\\|//// (@@) ASHLEY4. |
|||
![]() |
|
Gambino 30 Aug 2004, 06:57
And here is a new version XBIOC v0.5 Alpha.
Actualy i "forgot" to release this version because of the severe bugs caused by the procedures macros.... But here it is.... Bugs: 1. when running plasma demo the screen may or not restore properly 2. when running hdd the computer may or not freeze ( u must restart if it freezes) 3. when running dir the computer may or not freeze ( u must restart if it freezes) CAUTION: For testing the dir function you need that your primary partition to be FAT16 ( FAT32 still not supported ). Have Fun ![]()
|
||||||||||||||||||||
![]() |
|
ASHLEY4 30 Aug 2004, 14:14
Gambino, May be you could enter a compat ver of XBIOC, in the 512b compo
![]() \\\\||//// (@@) ASHLEY4. |
|||
![]() |
|
Gambino 30 Aug 2004, 15:49
ASHLEY4
Please be more explicit, i didn't understood anything ![]() ![]() ![]() |
|||
![]() |
|
Goto page Previous 1, 2, 3 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.