flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
nvictor
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 |
|||
![]() |
|
Solidus
As to the laptop, I run Menuet/Kolibri off an old 266Mhz PII with 128Mb of Ram. Works well and complements DexOS very well.
|
|||
![]() |
|
Dex4u
Menuet should run fine, but i would check if it has vesa2 and LFB, as i would not like to run menuet without it, although DexOS would work with or without it.
|
|||
![]() |
|
nvictor
Thanks for the replies.
In case it doesn't have vesa2. I remember [I was quite young] that it can be emulated, right? |
|||
![]() |
|
Dex4u
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. |
|||
![]() |
|
rugxulo
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 |
|||
![]() |
|
nvictor
ok
![]() |
|||
![]() |
|
rugxulo
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
|
|||||||||||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.