Thread: Need to know parameter format for a Call function?

  1. #136
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Laptop versus desktop should be no difference at all. It should work either way, unless you're setting a specific screen resolution.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  2. #137
    Registered User
    Join Date
    Jul 2014
    Location
    Amarillo, Texas
    Posts
    104
    Quote Originally Posted by Elkvis View Post
    Laptop versus desktop should be no difference at all. It should work either way, unless you're setting a specific screen resolution.
    Elkvis - Probably those who had problems with the Prophet on laptops downloaded the older (and better) version of it and it sets screen resolution to obtain "Full Screen Mode" to provide graphics and mouse support which the newer version doesn't have.

    There are 2 versions of Pro Football Prophet. The older version will only run on Windows XP or an earlier version of Windows on a desktop because it uses "Full Screen Mode" and Windows 7 has obsoleted "Full Screen Mode" (on purpose to obsolete software that they don't want to run on Windows).

    I have both versions zipped and would like to know how to post the newer version on this forum so anybody can download it and it should run on any Windows desktop or laptop. If someone wants the older, better version they can email me at:

    [email protected]

    Will

  3. #138
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Quote Originally Posted by Will1 View Post
    Elkvis - Probably those who had problems with the Prophet on laptops downloaded the older (and better) version of it and it sets screen resolution to obtain "Full Screen Mode" to provide graphics and mouse support which the newer version doesn't have.
    You could skip full screen mode, and just use Win32-based GUI. There is a number of ways to do that, whether with raw calls to the Win32 DLLs, or by using some sort of GUI toolkit like GTK+ or Qt. You'll find that it provides the user with a much better and more consistent user experience, and doesn't prevent them from using their other applications while yours is running.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  4. #139
    Registered User
    Join Date
    Jul 2014
    Location
    Amarillo, Texas
    Posts
    104
    Quote Originally Posted by Elkvis View Post
    You could skip full screen mode, and just use Win32-based GUI. There is a number of ways to do that, whether with raw calls to the Win32 DLLs, or by using some sort of GUI toolkit like GTK+ or Qt. You'll find that it provides the user with a much better and more consistent user experience, and doesn't prevent them from using their other applications while yours is running.
    Elkvis - Thanks. I already have a version where I did away with Full Screen Mode and tested it on a Windows 7 desktop. The problem is that the "window" that Pro Football Prophet gets is so small that the user can hardly read what's on the screen. If I want to expand the window that the Prophet gets I'll have to call DLLs or learn Windows GUI. I don't have the facilities to learn to do that right now and it's too close to the start of the NFL season to do very much. The Prophet is still DOS 16 bit so either method will probably be an extremely difficult conversion.

    I'll bet that that conversion, either way, is virtually impossible since the Prophet has more than one ADAM file open at a time and the 32 bit version of ADAM supports only one ADAM file open at any given time. I guess if you want to use the Prophet You'll just have to get a magnifying glass. Of course, if you have a Windows XP or older Windows version desktop, you can email me and I can send you the old version that has "Full Screen Mode." As I say, the older version has mouse support and some graphics that the newer verion doesn't have.

    In any case, what I need to know now is how do I post the newer version on this forum? Thanks for the suggestions.

    Will

  5. #140
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by Will1 View Post
    The Prophet is still DOS 16 bit so either method will probably be an extremely difficult conversion.
    Will
    FYI: You can NOT normally run 16 bit apps under a 64 bit version of windows. So, some of the issues might be OS bit size related.

    Edit: Running it inside of a DOS Box does NOT count as normal to me; you might wish to see if any of the DOS Box like apps can run ADAM well.

    Edit2: Link to Wiki http://en.wikipedia.org/wiki/DOSBox

    Tim S.
    Last edited by stahta01; 08-04-2014 at 12:47 PM.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  6. #141
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Quote Originally Posted by Will1 View Post
    I'll bet that that conversion, either way, is virtually impossible since the Prophet has more than one ADAM file open at a time and the 32 bit version of ADAM supports only one ADAM file open at any given time. I guess if you want to use the Prophet You'll just have to get a magnifying glass. Of course, if you have a Windows XP or older Windows version desktop, you can email me and I can send you the old version that has "Full Screen Mode." As I say, the older version has mouse support and some graphics that the newer verion doesn't have.
    I'm still willing to help you with getting ADAM to work on Win32. I assure you that it is possible to make it work with multiple files per process, even without access to the segment registers.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  7. #142
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by Will1 View Post
    In any case, what I need to know now is how do I post the newer version on this forum?
    Click "Reply to Thread". On the top row of icons click on the "paperclip" image, which opens a new window. Under "Upload Files from your Computer" click "Browse", which then opens up a file-browser window from which you select the Zip file on your computer. Once selected, click "Upload" then "Close this Window". Submit.

  8. #143
    Registered User
    Join Date
    Jul 2014
    Location
    Amarillo, Texas
    Posts
    104
    Quote Originally Posted by stahta01 View Post
    FYI: You can NOT normally run 16 bit apps under a 64 bit version of windows. So, some of the issues might be OS bit size related.

    Edit: Running it inside of a DOS Box does NOT count as normal to me; you might wish to see if any of the DOS Box like apps can run ADAM well.

    Edit2: Link to Wiki DOSBox - Wikipedia, the free encyclopedia

    Tim S.
    Tim - As I said, the newer version of the prophet runs ok on a Windows 7 desktop but it isn't nearly as good as the older version that will only run on a Windows XP or older version of Windows. As I have been told on this forum, I'm an old didnosaur programmer who wants to control the hardware and that include the Full Screen. The emphasis on "Protected Mode" for "security" is something I don't like at all. DOS Box runs on Windows XP except there are some mouse pointer bugs in it. Rather than fix the bugs, MicroSoft chose to do away Full Sreen Mode in Windows 7, probably because they have lost the expertise to fix the bugs.

    Doesn't anyone on this forum know how I can post the .ZIP file that has the newer and not so nice version of Pro Football Prophet?

    Will

  9. #144
    Registered User
    Join Date
    Jul 2014
    Location
    Amarillo, Texas
    Posts
    104
    Quote Originally Posted by Sebastiani View Post
    Click "Reply to Thread". On the top row of icons click on the "paperclip" image,
    When I click "Reply to Thread" it comes up with a "Quick Reply" window and I don't see a "paperclip" image?

  10. #145
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Click on "Go Advanced" instead.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  11. #146
    Registered User
    Join Date
    Jul 2014
    Location
    Amarillo, Texas
    Posts
    104
    Here is Pro Football Prophet. To run select football.exe.
    Attached Files Attached Files

  12. #147
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by Will1 View Post
    Here is Pro Football Prophet. To run select football.exe.
    Wot - source code not included?! And whatever happened to ADAM, by the way? I thought you were going to upload the source for that too so that we could review it and offer up our expertise to possibly modernize/make-portable?

  13. #148
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by Sebastiani View Post
    Wot - source code not included?! And whatever happened to ADAM, by the way? I thought you were going to upload the source for that too so that we could review it and offer up our expertise to possibly modernize/make-portable?
    Can you tell me is it 16 or 32 bit exe files?

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  14. #149
    TEIAM - problem solved
    Join Date
    Apr 2012
    Location
    Melbourne Australia
    Posts
    1,907
    I think that this conversation should be in the Tech board, as it is not related to the C language.
    Fact - Beethoven wrote his first symphony in C

  15. #150
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by stahta01 View Post
    Can you tell me is it 16 or 32 bit exe files?

    Tim S.
    I dunno, but they sure don't appear to be 32-bit...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Function call Overhead and Function Call Stack
    By Alam Khan in forum C++ Programming
    Replies: 2
    Last Post: 04-26-2014, 08:28 AM
  2. Replies: 4
    Last Post: 10-03-2011, 06:30 AM
  3. Replies: 13
    Last Post: 08-24-2006, 12:22 AM
  4. Parameter in a function
    By cpluspluser in forum C++ Programming
    Replies: 2
    Last Post: 04-09-2003, 07:48 PM