flat assembler
Message board for the users of flat assembler.
Index
> MenuetOS > Using MenuetOS with an old laptop |
Author |
|
nvictor 16 Mar 2007, 00:10
Hey,
I've found an old P2 on ebay and I want to buy it. I've been learning ASM on windows xp but I want to be in an old environment. DOS is not sold anymore, but there are FreeDos and MenuetOS. Can MenuetOS run alone on an old P2 233MHz laptop without any other operating system? Also, do you own or know where I can find old laptops? thanks. -- Make money with the 7 dollar theory and Agloco. Last edited by nvictor on 16 Mar 2007, 13:14; edited 1 time in total |
|||
16 Mar 2007, 00:10 |
|
Solidus 16 Mar 2007, 01:40
As to the laptop, I run Menuet/Kolibri off an old 266Mhz PII with 128Mb of Ram. Works well and complements DexOS very well.
|
|||
16 Mar 2007, 01:40 |
|
rugxulo 16 Mar 2007, 03:13
Menuet32 boots from A: on my old Pentium 1 (no MMX) 166 Mhz w/ 32 MB RAM (VESA 1.2: ATI Mach64 w/ 1 MB VRAM), even without a mouse. OctaOS and DexOS (and its tiny cousin, MiniDOS) also work. And of course FreeDOS works darn well too. (Try 'em all!)
We are enjoying a renaissance of mini OSes these days, thanks to the helpful FASM forums, etc. Hooray! |
|||
16 Mar 2007, 03:13 |
|
nvictor 16 Mar 2007, 13:11
Thanks for the replies.
In case it doesn't have vesa2. I remember [I was quite young] that it can be emulated, right? |
|||
16 Mar 2007, 13:11 |
|
Dex4u 16 Mar 2007, 16:49
So to clear things up, it should still work with vesa1, but it will be slower.
To find what vesa it supports, get the make and model and search on net for info on it before buying. |
|||
16 Mar 2007, 16:49 |
|
rugxulo 16 Mar 2007, 21:21
Someone more knowledgable than me could tell you more specifically, but you need:
Also, the motherboard might need to allow future video card upgrades, too. Make sure to ask the seller appropriate questions. EDIT: VESAINFO.C from DISPT3.ZIP Last edited by rugxulo on 12 Oct 2016, 00:27; edited 1 time in total |
|||
16 Mar 2007, 21:21 |
|
nvictor 17 Mar 2007, 18:21
ok
|
|||
17 Mar 2007, 18:21 |
|
rugxulo 05 Jun 2007, 02:52
EDIT: Updated to slightly smaller version.
Code: ; WHATVESA.ASM (0.2) - using FASM 1.67.21 (FASMD, actually) ; ; http://board.flatassembler.net ; ; 116 bytes, DOS .COM, public domain: free for any use! ("nenies proprajxo") ; rugxulo AT gmail DOT com ; ; Last modified: Tuesday June 12, 2007 5:29pm ; ; ---------------------------------------------------------------------- ; CRC32: 1BE946C3 ; ; begin 644 whatvesa.com ; MN`!/OW0!S1"#^$]U2(G[@3]6175`@7\"4T%U.?]W!O]W"(M'!-4*HG(!U`H- ; M,#"&X,9'!""(1P7&1P8NB&<'QT<((`")WN@:`(]'"(]'!L5W!N@.`"ZA<@'- ; :(5"2M`+-(5C#K(3`=`D\!W3WZ.S_Z_+#`$P` ; ` ; end ; ---------------------------------------------------------------------- ; format binary org 100h ; DOS .COM (for max. compatibility) use16 ; (sorry Win64, use DOSBox!) BELL=7 SUCCESS=004Fh Komenco: mov ax,4F00h mov di,VESA_buffer int 10h cmp ax,SUCCESS jnz @f mov bx,di cmp word [bx],'VE' jnz @f cmp word [bx+2],'SA' jnz @f push word [bx+6] word [bx+8] mov ax,word [bx+4] aad mov byte [VESA_version],al aam or ax,'00' xchg ah,al mov byte [bx+4],' ' mov byte [bx+5],al mov byte [bx+6],'.' mov byte [bx+7],ah mov word [bx+8],' ' mov si,bx call print pop word [bx+8] word [bx+6] lds si,[bx+6] call print @@: Fino: mov ax,word [cs:VESA_version] int 21h ; putc putc: push ax xchg dx,ax mov ah,2 int 21h pop ax .ret: ret ; print print: @@: lodsb test al,al jz short @f cmp al,BELL ; skip ASCII bell (very annoying) jz @b call putc jmp short @b @@: .ret: ret VESA_version db 0,4Ch VESA_buffer rb 256 ; EOF
|
|||||||||||
05 Jun 2007, 02:52 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.