Board index » delphi » passing record address to device in BP 7.0 protected mode
stuart.ans...@dsto.defence.gov.au (Stuart Anstee)
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
|
stuart.ans...@dsto.defence.gov.au (Stuart Anstee)
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
passing record address to device in BP 7.0 protected mode
I have a TP 7.0 program which I would like to run in BP 7.0 protected
mode, to take advantage of larger arrays. The program reads data from two older-style optical WORM drives via a COREL-SCSI "ioctl" interface operating as part of interrupt 21h. This works fine in TP, but not at all in BP protected mode. The interrupt call is made using the BP MSDOS call and passes the Is there a way around this problem within BP? Any hints would be appreciated. Documentation for protected mode is Stuart Anstee |
Ken Pembert
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:passing record address to device in BP 7.0 protected modeHi Stuart. Quotestuart.ans...@dsto.defence.gov.au (Stuart Anstee) wrote: arrays. What it does do is make more memory available to the heap manager - so you can have more arrays, if they are declared on the heap. If I am preaching to the converted here, please excuse my lecture-mode. Quote>two older-style optical WORM drives via a COREL-SCSI "ioctl" interface head-hurting hour! But take a deep breath, count to several million, and relax. There IS light at the end of the tunnel. Quote>The interrupt call is made using the BP MSDOS call and passes the my hands on, and still had to work a lot of it out myself. Right, to get down to business : First off, scour local bookshops, and buy a *GOOD* DOS programmer's One of these calls - sorry, I don't have the book or source with me - This should work out beautifully for you, as it did for us. A few more You're lucky that you get to the function via MSDOS, because that Do *NOT* use the MSDOS call to do this. Rather do an INTR(..). Don't ZERO any registers you don't specifically need to pass to the Ensure that the function number passed to INT 21H is not used by DPMI, If you are considering porting your application to Windoze, things I'll try to locate my reference book, and get back to you with the Cheers, Ken Pemberton Opinions expressed in this message do not necessarily |
1. BP 7.0 Protected mode and HLT instruction
2. Graphics Device Interface for BP 7.0
3. Multitasking under BP protected mode
4. RTM.EXE - for BP Protected Mode programs.
5. Mouse driver check in DPMI protected mode BP
6. BP protected mode programming books
7. BP 7: Protected Mode, HELP!
8. BP 7 Protected mode memory manager error