---------------------- PQ> Hi, I have written a small make shift SVGA viewer in Nasm and I PQ> am having problems. I can get it to load a 640x480x16m image to PQ> XMS and then I want it to copy 64k at once to A000 then alter PQ> the windows, then another 64k until the image is displayed. Yet PQ> when the image is placed on the screen it looks wrong. Can PQ> anyone tell me if they can see anything wrong here? The TREE.RAW PQ> file is a 640x480x16m RAW RGB file. make sure that the data in the RAW file is being matched properly with the data sent to the screen...(err, if the file is GBR, you'll have to make some changes. Test by creating a dummy file with only one of the colors set...then if it works, well...you know). PQ> APOLOGIES IN ADVANCE FOR ALL BAD CODING, COMMENTS, WASTEFULNESS! Never apologize for comments. Apologize for lack of comments. PQ> SEGMENT Main CLASS=Code USE16 PQ> Mov Ax, Data PQ> Mov Ds, Ax switch to tasm. mov ds, @data (TASM is well worth its price...never tried 1.0, but 2.1 was pretty good) (I really shouldn't comment upon this, though.) PQ> Mov Ax, Extra PQ> Mov Es, Ax PQ> ; *** Save Current Video Mode *** PQ> Mov Ax, 0F00h PQ> Int 10h PQ> Mov [Es:Old_VMode WRT Extra], Al Not quite compatible with all video cards. Some early versions of VESA (such as supported by Trident) tend to screw up there. PQ> ; *** Get XMS Driver Address *** PQ> Push Es PQ> Mov Ax, 4310h PQ> Int 2Fh PQ> Mov [Xms WRT Data], Bx PQ> Mov [Xms+2 WRT Data], Es Err...Sure? I'm not, as it will also return an external A20 handler w/ al=80h... Shouldn't comment, though. PQ> Pop Es PQ> ; *** Allocate 1Mb of Xms *** PQ> Mov Ah, 09h PQ> Mov Dx, 1024 PQ> Call Far [Xms WRT Data] PQ> Mov [X_Handle WRT Data], Dx ; Store Handle for Block PQ> ; *** Open File *** PQ> Mov Ax, 3D00h PQ> Mov Dx, Filename WRT Data PQ> Int 21h PQ> Jnc Cont PQ> Jmp Exit PQ> Cont Mov [F_Handle WRT Data], Ax PQ> Mov Bx, Ax PQ> ; *** Setup up minimum EMM Block *** PQ> Mov DWord [Emm WRT Data], 0400h ; 1k Transfer PQ> Mov Word [S_Offset WRT Data], Buffer WRT Extra PQ> Mov Word [S_Offset+2 WRT Data], Es ; Es:Buffer PQ> Mov Ax, [X_Handle WRT Data] PQ> Mov [D_Handle WRT Data], Ax ; D_Handle = PQ> X_Handle PQ> ; *** Read into Xms *** PQ> RXms Push Ds ; Store Ds PQ> Push Es ; Store Es PQ> Pop Ds ; Ds = Es ; Extra PQ> Mov Ax, 3F00h PQ> Mov Cx, 0400h PQ> Mov Dx, Buffer WRT Extra PQ> Int 21h ; Read 1k into Ds:Dx Try pop'ng DS here. Save a byte rather than doing it later. PQ> Cmp Ax, 0000h ; Are we at the end of the file? It's slightly smaller (and faster) to use an operatiohn like "or ax, ax" instead of this CMP...saves one byte. PQ> Je CFile ; Yes, Close File PQ> Pop Ds PQ> Mov Si, Emm WRT Data ; Ds:Si => Emm Structure PQ> Mov Ah, 0Bh PQ> Call Far [Xms WRT Data] PQ> Add DWord [D_Offset WRT Data], 0400h PQ> Jmp RXms PQ> ; *** Close File *** PQ> CFile Pop Ds PQ> Mov Ax, 3E00h PQ> Int 21h PQ> ; *** Set up Minimum Emm for Xms to Svga *** PQ> Mov DWord [Emm WRT Data], 10000h ; 64k Transfer PQ> Mov Ax, [X_Handle WRT Data] PQ> Mov [S_Handle WRT Data], Ax ; S_Handle = X_Handle PQ> Mov DWord [S_Offset WRT Data], 00000000h PQ> Mov Word [D_Handle WRT Data], 0000h PQ> Mov Word [D_Offset WRT Data], 0000h PQ> Mov Word [D_Offset+2 WRT Data], 0A000h PQ> ; *** Set SVGA Mode *** PQ> Mov Ax, 4F02h PQ> Mov Bx, 112h PQ> Int 10h Check granularity here, also...the default 640x480x24bit on my sister's is in 4k pages (yuck, but there is a better one to use). PQ> ; *** Transfer from XMS to A000:0000 *** PQ> Xor Dx, Dx PQ> T_Xms Mov Ah, 0Bh PQ> Mov Si, Emm WRT Data PQ> Call Far [Xms WRT Data] PQ> ; * Increase SVGA CPU Window by 64k * PQ> Mov Ax, 4F05h PQ> Xor Bx, Bx PQ> Inc Dx PQ> Int 10h Not on all systems. PQ> Mov EAx, [S_Offset WRT Data] PQ> Cmp EAx, 921600 ; Size of original file PQ> Jnb RExit Must you use a constant here? PQ> Add EAx, 000010000h PQ> Mov [S_Offset WRT Data], EAx PQ> Jmp T_Xms PQ> ; *** Restore Video Mode *** PQ> RExit Mov Ah, 00h PQ> Mov Al, [Es:Old_VMode WRT Extra] PQ> Int 10h PQ> Exit Mov Ax, 4c00h PQ> Int 21h What, you don't want to return an ERRORLEVEL status flag? Aww... (Just wanted to say something) PQ> SEGMENT Data CLASS=Data PQ> Filename db 'TREE.RAW',0 ; Filename PQ> Xms dd 00000000h ; Xms Driver Location PQ> X_Handle dw 0000h ; Xms block Handle PQ> F_Handle dw 0000h ; File Handle PQ> ; *** Emm Block *** PQ> Emm dd 00000000h ; Number of Bytes to Move ( PQ> Even ) S_Handle dw 0000h ; Source Handle PQ> S_Offset dd 00000000h ; Offset into source block PQ> D_Handle dw 0000h ; Destination Handle PQ> D_Offset dd 00000000h ; Offset into destination PQ> block ; ***************** why not define it as a struct? It looks better in source form, but does the same thing compiled. PQ> SEGMENT Extra CLASS=Bss PQ> Old_VMode Resb 01h PQ> Buffer Resb 0500h PQ> SEGMENT Stack CLASS=Stack STACK PQ> resb 0FFh PQ> cheers.. Yes. I may just need a drink. ;) I'm not going to comment on XMS usage, but be careful with the way you seem to be calling it. Some multitaskers tend to allow access to XMS handles and then deallocate the handles. I'm not saying any names. ("Microsoft" will remain unspoken. You can read it if you want to, I can't stop you.) Send internet email that you don't want a response to: generic666@hotmail.com ... "Bother," said Pooh, as Piglet raped Kanga. * BlueWave/QWK 666 Beta * --- Synchronet+SBBSecho v1.25 * Origin: Bass Computer (5o4)646-o3o7 Slidell, LA, US (1:3828/9) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EDB00005Date: 09/04/97 From: BILLY TIERNEY Time: 10:10am \/To: PHIL QUINTON (Read 1 times) Subj: Graphix mode Windowing. ::To: All From: Phil Quinton Subj: Graphix mode Windowing. :: ---------------------- PQ> I have looked in Ralph Browns Interrupt list but I still have PQ> a problem with graphics modes that use more memory than PQ> the 64k segment that it resides in. PQ> Can someone give me a step by step instruction on doing PQ> windowing so I can move the 64k segment at A000 around PQ> the video memory so I can draw to the full screen and not PQ> just the top section :-) No problem.. I'll send it as an XXEncoded .ZIP file. Err...it's a bit big, so the response will be over several more messages. Sorry, everyone who has to deal with it. (Takes up less space then the specs, though.) *XX3402-015832-100594--72--85-44155--------SVGA.ZIP--1-OF--4 I2g1--E++U+6+2eleVk2vhhtLXo++0jV+++A++++JYJHEJBEAH6iJ3VIp5rNQhj6gi+vMzUD BLQSXVE-mGGpqWQuPaWlrNtfhlqKquTv2EG96et-U+S9NDL1TDgUhucg+8HYtRstcstkqo7J pdOJSqNxTbZnMPvrtuPNqB7wTbpVPicsLwHZMXnub0tgMJtaBeb96YyHmbqfn2JJ3IYOpqaF XoTztyTyX2SnuQb2z3OIxQewGgiePUQifOqXRdddPQrFuKHPCXugWhmyA5j5YzBxQrloQX+t CXcOXqvWrDnjcf8FiPcknoyaFxC1qKEqSR9Kj6ezOc1bgxb7S1ESDKor9xywjn2jjxMqfr0f 5Xg4ra1njnvTD7xC7vDNcprAyuEitipkgpZYdgyTHlzfQJoYnRfahTZgGtWIaFtC5VzZwyJ9 pK24Cz1VxswTrhywRCQz5boeHAIfGDym7XN7gJur5OdWKRz5dHJdLhhm4GTKp6LOdHj2h5UF PxfDJRj83CL0ZiBFqqdH3j1NJCZuYuL9p0swi5XHzWd-91FlYhWe+fXlsWvCYvMRU4uv9teY fUtVlXSzjrhrwT3DDSCJRJCKcOdqseOmhGaKNhbY0M0jnDoeHJMancB-qlurNPkqGTjvdf6s sMhxIwnfi3p2aWy9QgrHalRBPSdqi0HSlDAoGygIFgcL7Zb3NNmo8oyf4atNCqkw5ZIPavH9 HREqkEtMC1c4qTOxr6QJ7oJSZoK4s6iqBLpjsJFBgVeDKjU9rbvH1fD46KXDpwI0ThpC7gvG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k2QQbJJ1i5RJPSDCaS0uarlU tLh0QshgMHsIasDTBw6yW8kEbTVowl2s1-YunRLP4pFGwDjGj9gti5tzglyNRLevefQj4n1q pf79W0kfRGXfjcp-9ItfQVT4KHM2O+8+E2B-gTFNONpeF5QAJh9lO5pezksqoDsNrFTZ3xcT Is8DN2rKP81uM4C-vHBrQRNMphwFNwa9qpzT5ZaWacr6Zq+VE-jKYUl8MC14c8hx7L9FiO4- d9AGVMIGL1Ws5s4QF2X3s9xMqouaX7AjQdKni8fvkFtAa50nrd+tHLP19W6IKi3uk6b5RJ2y c4x-V9Ui6rR6BFtxyjHb+LqCH7K+n-9V5RiYLqp4X5kTVUwbV5uE6I3pD+8N6jxPvQP4YTeG l1mhnTLAv9rjHgpNETORYU8lQ-RpLOPh8apZZebB3aND5PQWvYhZYh3ba4Eq9by6BNoB-yfV yF1CJ6x3e6x5+SjELN4Ibg4qJ4XONhgiLg5gkGVb3pojAnq0oBLr9xy7OEJFS2hk+Rg00Afo 4+4Q2Na1emABl7tyHYCwSfI0OEnkWay-a3449rqLy9CAoOuWLFEQy-Y4vtdZ3eCx-gzY4M15 jkIFCcQR8lD8QZt3kdo8Bd-dV9eFSaSb7yCFqpisXMJFJnbib4S2CULpVuiq+PSrwwFSze3w cyroVd-j0txkdVIm+A78g5QkLpGHqAQ+fcLlu5dmQ5pin0wI3IfhibXwNabOBfzwMWMFoP4I FDiMFV1oU74qRdrufcDRfdwTL2yDqrZw7CLRrnpE2tQBObbqumMawKejbQlyqqi8wK8e3ry+ fKXYs66haBhPgCp-U1MHnvHG9R+OaOngKcYtJSXSvy0+Zu9+ou0LdRhInJntcASXvglk8iqo pXOK67rGrYek0ZwqYPwQTWq2CH1+dy38F7Y6u0I-NIVolPL4UHErZqz7NUJLGBco4k+pTuWh ***** END OF BLOCK 1 ***** Send internet email that you don't want a response to: generic666@hotmail.com ... Step up to MAX Graphics and let RIP graphics [R]est [I]n [P]eace. * BlueWave/QWK 666 Beta * --- Synchronet+SBBSecho v1.25 * Origin: Bass Computer (5o4)646-o3o7 Slidell, LA, US (1:3828/9) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EDB00006Date: 09/04/97 From: BILLY TIERNEY Time: 10:14am \/To: PHIL QUINTON (Read 1 times) Subj: Graphix mode Windowing. ::To: All From: Phil Quinton Subj: Graphix mode Windowing. :: ---------------------- PQ> I have looked in Ralph Browns Interrupt list but I still have PQ> a problem with graphics modes that use more memory than PQ> the 64k segment that it resides in. PQ> Can someone give me a step by step instruction on doing PQ> windowing so I can move the 64k segment at A000 around PQ> the video memory so I can draw to the full screen and not PQ> just the top section :-) Part two of four. *XX3402-015832-100594--72--85-20251--------SVGA.ZIP--2-OF--4 qPjw3EGfvec5dta8oAiugf1aFEmu8QsRDRoA7nNb-r+BSrQiAeQLeoXQfiNwAjZuCdZ2sx5o x+1xwN2tDaXLZBhErK+1M38IdOoqFMt4nyb7ESSiAy0ocU+SEBTdN9NGZojQQrrAwX3Jj6cL EnYqfnxSTDXpnRKBSSHbowgzDa5+4grFw6MM06eFK+Gob42AUX5xRiqbNdr1hsz3jGk6ThlT Vby0RiAFPsklvWz1DtpqHomdOhgzBOA89WmCRC-W36wbLswb2wDFVVHgOOMEgVWoCtys5VC+ Alq0QyvVD7t871zHmTACfCaFS1YUz-4EVsOsKAZQ24CtwOa1Qv2Jnj2Fk1befIb-IKizr+fb ND6huvfO0cTqw9XvTH6vzbdqSgvfUWMbitfUBYCfoqufqTbY8nHpUAtqBI3+rmxvbRAgfXh1 5AoaLqSmjISnzqXzr7iyC65zxe5xmprhHsylzQa9IqvxOZTfuSbVyHinRzuWzExOHmSvo9Az ZyZCRCvCNHfPpPcrZtpcBn0LsprhSrAtqRKuBtTHLTUoA7SnLSpvQnbTXR0RiHnTVN61QvbM pPsrZwjRRm8MmzSXzjCRuHnzc+mDlyYsqAQ0wOVetUTgFrQyjRb7uFSI4XWIaE7GwkJ4LGaS D-s32G+yB+OYB-9TZMfY+anHYY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BbRSQ4SZL00Qod2i1y+G0Bw5Kw9f ***** END OF BLOCK 2 ***** Send internet email that you don't want a response to: generic666@hotmail.com ... Step up to MAX Graphics and let RIP graphics [R]est [I]n [P]eace. * BlueWave/QWK 666 Beta * --- Synchronet+SBBSecho v1.25 * Origin: Bass Computer (5o4)646-o3o7 Slidell, LA, US (1:3828/9) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EDB00007Date: 09/04/97 From: BILLY TIERNEY Time: 10:18am \/To: PHIL QUINTON (Read 1 times) Subj: Floating Point Numbers ::To: All From: Phil Quinton Subj: Floating Point Numbers :: ---------------------- PQ> Can someone tell me the format of the different PQ> floating point numbers so that I can use the FPU PQ> and then print out the results. Ok...here we go... the format of a floating point number that the FPU manages is an IEEE real (32 bit). I forget exactly what it is, but I think it's something like: s ccccccc mmmmmmmmmmmmmmmmmmmmmmmm s=sign c=character...It's a value with 127 added on to it. (E.g. a value of zero here is actually 127) m=mantissa or something. This is the portion that actually specifies the number. The number is formed kinda like this: 2^(Character-127) * Matnissa / 2^23 and don't forget to add in the sign. You should be able to verify this (after a few minutes of work) by writing a simple program w/ Turbo Pascal (DO NOT USE ANY MICROSOFT PRODUCT FOR THIS: Microsoft has several different INcompatible float formats. They may not use them any more with their newer products, but it was nasty in MS-Fortran, MS-C, etc) and writing a float to a file. Try to decipher it afterwards. I think that the mantissa has an assumed value of one (But can't recall). Very sorry, I haven't dealt with any of this in a while. Good luck! Send internet email that you don't want a response to: generic666@hotmail.com ... I'm writing a telephone book, can I have your number? * BlueWave/QWK 666 Beta * --- Synchronet+SBBSecho v1.25 * Origin: Bass Computer (5o4)646-o3o7 Slidell, LA, US (1:3828/9) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EDB00008Date: 09/05/97 From: WILLIAM TIERNEY Time: 11:07am \/To: REUBEN SHEPEK (Read 1 times) Subj: Floating Point Numbers ::To: Phil Quinton From: Reuben Shepek Subj: Floating Point Numbers :: ---------------------- PQ>Can someone tell me the format of the different PQ>floating point numbers so that I can use the FPU PQ>and then print out the results. RS> This may be what you want: RS> single double ment to be +or- RS> +x.xxE+yy +x.xxxxxD+yy yy is from -39 to +38 the power of 10 RS> - - - - multiplyed be x.xx or x.xxxxx I do believe he is refering to the actual structure, rather than the notation... ... No frog floating. * BlueWave/QWK 666 Beta * --- Blue Wave/QWK v2.12 * Origin: Bass Computer (5o4)646-o3o7 Slidell, LA, US (1:3828/9) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EDB00009Date: 09/05/97 From: WILLIAM TIERNEY Time: 11:10am \/To: BO SCHREURS (Read 1 times) Subj: Array of Structures ::To: All From: Bo Schreurs Subj: Array of Structures ::