Search:

Type: Posts; User: Peter Swinkels

Page 1 of 13 1 2 3 4

Search: Search took 0.40 seconds.

  1. Replies
    3
    Views
    161

    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...
  2. Replies
    3
    Views
    161

    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...
  3. Re: QBasic/Qb45 high precision timing->

    A game using int 15h:

    https://github.com/PeterSwinkels/Balls/blob/main/BALLS.BAS
  4. 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$ +...
  5. Re: QBasic/Qb45 high precision timing->

    @Passel:

    The verticle retrace works now:



    DEFINT A-Z
    SCREEN 12: CLS
    x = 320
    y = 240
  6. 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.
  7. 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
  8. 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...
  9. 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....
  10. 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?
  11. 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...
  12. 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...
  13. [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 <...
  14. Replies
    15
    Views
    990

    Re: open source assembly language

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

    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?
  16. Replies
    6
    Views
    436

    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.
  17. 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?
  18. Replies
    15
    Views
    990

    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....
  19. Replies
    7
    Views
    1,021

    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,...
  20. 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...
  21. Replies
    13
    Views
    3,407

    Re: Cryptocurrency API

    Wonderful! You're welcome!
  22. Re: Would like to convert Few VBA-Excel subroutines to VB.Net19

    There should be an output window in your IDE.
  23. Replies
    42
    Views
    2,031

    Re: Reading Proficiency and Programming

    "Something that can think for itself!? Black magic, I say!" *runs for the hills*

    -PS
  24. Replies
    42
    Views
    2,031

    Re: Reading Proficiency and Programming

    I have bought and owned several books about programming and what not. Very few actually turned out to be truly helpful. Occassionally I would find an interesting tidbit that led somewhere. Knowing...
  25. Replies
    42
    Views
    2,031

    Re: Reading Proficiency and Programming

    One thing that paper doesn't appear to mention is the skill to obtain useful information from video's and images. Too modern?
  26. Re: Would like to convert Few VBA-Excel subroutines to VB.Net19

    https://www.tutorialspoint.com/vb.net/vb.net_arrays.htm
  27. Replies
    42
    Views
    2,031

    Re: Reading Proficiency and Programming

    I too tried to write business software and “helpful” utilities for others. It never really went anywhere. I think intellisense and auto-correction have their place. If used responsibly, they can help...
  28. Re: Would like to convert Few VBA-Excel subroutines to VB.Net19

    In short you're asking others to rewrite your vba code in vb.net? Good luck, unless you have any specific questions.
  29. VS 2019 Re: VB.NET Change Any keypress by another on any where

    1. anscii does not exist. What kind of special extended ASCII symbols?
    2. Please use code tags.
    3. KeyPreview can be set at design time. The rest of that code appears to be meaningless.
  30. Replies
    6
    Views
    436

    Re: Vb6 msflexgrid

    Welcome to the forum. Could you post the relevant code? Preferably a stripped down copy of your project as an attachment.
  31. Replies
    1
    Views
    560

    Re: Fetch API

    I have heard of the Fetch API and have no idea what it is other than that it's something web based. You say your site is built in classic ASP? Is your version of ASP capable of supporting the version...
  32. Replies
    26
    Views
    2,412

    Re: VB.NET forms and controls for VBA/VB6

    Feedback of any kind? You can upload uncompressed files to GitHub. It makes for easier browsing. GitHub auto-zips them when you download a folder.
  33. Replies
    7
    Views
    1,021

    Re: How to change Letter default assembly

    1. Define old.
    2. 16-bit mode? That is real mode.
    3. What do CPU modes have to do with character output?
  34. Re: Some other alternative language that can talk to the machine besides C and assemb

    I have no idea where you can get Commodore components, let alone in China. Aren’t there more modern alternatives such as Arduino?
  35. Replies
    15
    Views
    990

    Re: open source assembly language

    lewisjames, forgive me for going off-topic and having to repeat myself:

    Your answer doesn’t really make sense. No offense, after reading several posts by you, but I think there is a language...
  36. Replies
    16
    Views
    16,067

    Re: Cartooners File Viewer

    An updated version. There is also the GitHub page at http://github.com/peterswinkels
  37. Replies
    42
    Views
    2,031

    Re: Reading Proficiency and Programming

    @funkydexter:
    Most of the time I feel code should be properly commented, there are exceptions such as with quick throw-away code.

    @Arnoutdv:
    Interesting, but I don't feel like reading that right...
  38. Replies
    42
    Views
    2,031

    Re: Reading Proficiency and Programming

    Dat is ook compleet off-topic, maar een terechte opmerking, des al niet te min. Ik las net een andere thread over hoe vreselijk het is dat alles tegenwoordig kwetsbaar aan het internet gekoppeld zit....
  39. Replies
    21
    Views
    1,235

    Re: Kaseya Ransomware threat

    My two cents, no matter how secure the software or hardware, if the end user can somehow be manipulated... And, I love forums...
  40. Replies
    42
    Views
    2,031

    Re: Reading Proficiency and Programming

    At the risk of dragging this thread off topic again... It seems one of the most fundamental aspects of this topic is attacking a problem without being to properly describe it in any shape or form...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width