Search:

Type: Posts; User: Peter Swinkels

Page 1 of 13 1 2 3 4

Search: Search took 0.32 seconds.

  1. Re: [RESOLVED] Simulating an interrupt call using CALL FAR and PUSHF

    1. No I checked, the original program works exactly as expected. It uses another method of detecting. Download it and see for yourself.
    2. Okay! EDIT: Moving the POP/POPA instructions helps but it...
  2. Re: [RESOLVED] Simulating an interrupt call using CALL FAR and PUSHF

    Okay, it looks I was too quick to assume the problem was solved. The modified TSR seemingly works but I have noticed two major bugs:

    1. The program doesn't detect that it has already been...
  3. Re: Simulating an interrupt call using CALL FAR and PUSHF

    Thank you, that partially solved the problem. I modified the code as follows:


    TSR:
    PUSHA ; Saves the registers.
    PUSH DS ;
    PUSH ES ;
    ...
  4. [RESOLVED] Simulating an interrupt call using CALL FAR and PUSHF

    Someone suggested I should simulate an interrupt call using a vector saved in a "variable" instead of assigning the redirected interrupt another number regarding a TSR I wrote. The original program...
  5. Re: Motion Detector - detects movement inside a webcam's field of view (VB 5/6)

    You’re welcome!
  6. Re: Motion Detector - detects movement inside a webcam's field of view (VB 5/6)

    @HomeWorx:
    You can download the code at https://github.com/PeterSwinkels/vb6-Motion-Detector.
  7. Replies
    34
    Views
    1,555

    Re: Retro programming communities

    A site with a still working forum where you don't have to register... http://forum.phatcode.net/index.php I thought those were long gone.
  8. Replies
    34
    Views
    1,555

    Re: Retro programming communities

    @dilettante:
    Interesting, are there any websites dealing with that particular subject?
  9. Replies
    34
    Views
    1,555

    Re: Retro programming communities

    I had to make do with two class mates and a few books from the local library. I don't think any teachers at my school knew anything about computer programming.
  10. Replies
    34
    Views
    1,555

    Re: Retro programming communities

    @2kaud: you were 13 and starting programming during the 70's? Impressive. Where did you get your information? How did you practice your skills?
  11. Replies
    34
    Views
    1,555

    Re: Retro programming communities

    @2kaud: I was twelve back then. I had no idea of those other languages. QBasic was the only real option for me as it readily came with MS-DOS. I believe I did manage to get a copy of Turbo Pascal...
  12. Re: Quick Basic/QBasic/VBDos - WIDTH statement question

    @yereverluvinuncleber:

    Discord? I hadn't thought of that. Thanks! I got my question answered btw: https://www.vogons.org/viewtopic.php?f=31&t=83785 - This means I should mark this thread as...
  13. Replies
    34
    Views
    1,555

    Re: Retro programming communities

    @Everyone see the second edit to my original post. That should clear the confusion. I hope.

    @2kaud:
    I first learned programming in QBasic 1.0 in MS-DOS 5.0 on my dad's 80386 SX 25 Mhz pc. I used...
  14. Replies
    34
    Views
    1,555

    Re: Retro programming communities

    @dilettante: thanks for the suggestions, but I will probably stick to emulators.
  15. Re: Quick Basic/QBasic/VBDos - WIDTH statement question

    Qb64.org has disabled their registration... :-( I reposted the question at the DOSBox forums. Someone, especially someone involved with developing DOSBox graphics emulation should be able to help out.
  16. Replies
    34
    Views
    1,555

    Re: Retro programming communities

    According to fast.com I have 120 mbps...
  17. Replies
    34
    Views
    1,555

    Re: Retro programming communities

    This reminds of the days you could ring up quite a phone bill by surfing the internet. Imagine having to wait several minutes for some text and a few images to load!
  18. [RESOLVED] Quick Basic/QBasic/VBDos - WIDTH statement question

    Quick Basic has the WIDTH statement which you can use to set the number of character columns and rows for a given screen mode. As to my question: I want to set the number of rows to 60 using the...
  19. Replies
    34
    Views
    1,555

    Re: Retro programming communities

    If you have nothing else GOSUB and GOTO are fine, if you use them responsibly. How did your programs save and load data?
  20. Replies
    34
    Views
    1,555

    Re: Retro programming communities

    Hmmm, I am not really that interested in architectures other than the PC. If I had the room and money for it, a 90's pc would be nice perhaps. For me the most fun comes from seeing how far you can...
  21. Replies
    34
    Views
    1,555

    Re: Retro programming communities

    @passel:
    No qb64. Thank you. That other forum appears to be nearly dead. The most recent posts appear to be several years to over a decade old,

    @dilettante:
    I believe Arduinos and similar...
  22. Replies
    34
    Views
    1,555

    Retro programming communities

    Okay, I am well aware classic BASIC programming languages are as a good as dead. From what I understand vb6 applications are still maintained but older languages are obsolete. However I know from...
  23. Re: QBasic/Qb45 high precision timing->

    A game using int 15h:

    https://github.com/PeterSwinkels/Balls/blob/main/BALLS.BAS
  24. Re: QBasic/Qb45 high precision timing->

    I may have found an acceptable solution:



    DEFINT A-Z
    Delay$ = CHR$(&HB4) + CHR$(&H86) 'MOV AH, 0x86
    Delay$ = Delay$ + CHR$(&HB9) + MKI$(&H0) 'MOV CX, HighByte
    Delay$ = Delay$ +...
  25. Re: QBasic/Qb45 high precision timing->

    @Passel:

    The verticle retrace works now:



    DEFINT A-Z
    SCREEN 12: CLS
    x = 320
    y = 240
  26. Re: QBasic/Qb45 high precision timing->

    @Passel: I changed the looping condition as you suggested, it still runs at CPU dependent speed. I would have to ask at the DOSBox forums whether DOSBox supports vertical retrace.
  27. Re: QBasic/Qb45 high precision timing->

    @passel:

    I made a simple bouncing ball program using vertical retracing as a timing method:



    DEFINT A-Z
    SCREEN 12: CLS
    x = 320
    y = 240
  28. Re: QBasic/Qb45 high precision timing->

    https://youtu.be/nRMrzqKoGpY Does this game look like it's running at 54ms intervals to you? It's timed alright, I know for a fact it runs at the same speed on anything from 4.77mhz to at least...
  29. Re: QBasic/Qb45 high precision timing->

    No, it's exactly 1000 / 18. I don't need it, but I am curious as to how it was during the DOS days, if not using QBasic, then something else. I don't think what I am asking for is crazy accurate....
  30. Re: QBasic/Qb45 high precision timing->

    As far as I know the normal system timer can't handle intervals smaller than one 18th of a second, can it?
  31. Re: QBasic/Qb45 high precision timing->

    As far as I know there wasn’t high precision timing exactly like we have today, but I know it was done some how. Think about it, a lot of older games have things going on at CPU independent speeds...
  32. Re: QBasic/Qb45 high precision timing->

    Yes, it might not be easy but from what I can tell it should be possible to do it in original QBasic. Part of the reason I am trying it is because I want to know how old DOS games managed precision...
  33. [RESOLVED] QBasic/Qb45 high precision timing->

    Whenever I needed a delay in my QBasic/QB45 program I would use a simple delay based on the TIMER function:



    DEFINT A-Z
    CLS
    Delay! = .25
    DO
    StartTime! = TIMER
    DO WHILE TIMER <...
  34. Replies
    15
    Views
    1,153

    Re: open source assembly language

    You're description has made me curious. Should you recreate it, I would love to have a look. Okay?
  35. Replies
    15
    Views
    1,153

    Re: open source assembly language

    Glad to hear you might have found something to work with in Minix.

    I am curious about that "assembly command" you mentioned. Could you share it?
  36. Replies
    6
    Views
    491

    Re: Vb6 msflexgrid

    First time I heard of that restriction. If the op still needs help, I am willing to look at a stripped down copy of the project. Just send me a pm and I will pm my e-mail address.
  37. VS 2019 Re: VB.NET Change Any keypress by another on any where

    Yes, using custom characters is possible. It's called using another font. How about creating a font yourself?
  38. Replies
    15
    Views
    1,153

    Re: open source assembly language

    Well, I am glad you're grateful. You're welcome. Put some effort into it and you will understand my "native thoughts" I am not an alien. :-)

    MS-DOS, a very light Linux distro, or CP/M should work....
  39. Replies
    7
    Views
    1,609

    Re: How to change Letter default assembly

    1. Yes, new computers have improved CPU features and do all the stuff older CPU's do. Why not use them instead of begging for Commodore 64 CPU's?
    2. I have no idea what a computer mode is.
    3. Well,...
  40. Re: Some other alternative language that can talk to the machine besides C and assemb

    And just how do you think ROM BASIC and something similar works? If you want to get anything done using the low-level stuff you claim to want use you're going to have to forget about boring and put...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width