Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. so i think i know my plan of attack.

so i think i know my plan of attack.

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
32 Indlæg 10 Posters 102 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • eniko@mastodon.gamedev.placeE This user is from outside of this forum
    eniko@mastodon.gamedev.placeE This user is from outside of this forum
    eniko@mastodon.gamedev.place
    wrote sidst redigeret af
    #1

    RE: https://mastodon.gamedev.place/@eniko/116020452637946127

    so i think i know my plan of attack. i'm gonna use mode 13h, 320x200 8bpp

    then im gonna tweak the VGA registers to line double so that it displays 320x100 out of 320x200 virtual space

    that means i can draw in one half and "page flip" to the other using the scroll register

    and qbasic's draw commands still work since it just draws into the 320x200 virtual screen

    then i horizontally pixel double graphics by repeating each 8bpp pixel into 16bpp for effectively 160x100 double buffered VGA

    eniko@mastodon.gamedev.placeE 1 Reply Last reply
    0
    • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

      RE: https://mastodon.gamedev.place/@eniko/116020452637946127

      so i think i know my plan of attack. i'm gonna use mode 13h, 320x200 8bpp

      then im gonna tweak the VGA registers to line double so that it displays 320x100 out of 320x200 virtual space

      that means i can draw in one half and "page flip" to the other using the scroll register

      and qbasic's draw commands still work since it just draws into the 320x200 virtual screen

      then i horizontally pixel double graphics by repeating each 8bpp pixel into 16bpp for effectively 160x100 double buffered VGA

      eniko@mastodon.gamedev.placeE This user is from outside of this forum
      eniko@mastodon.gamedev.placeE This user is from outside of this forum
      eniko@mastodon.gamedev.place
      wrote sidst redigeret af
      #2

      this means i can PUT tiles to screen which at the lowered resolution should be fast enough, and i don't have to copy anything for the double buffering, so i should be able to redraw the entire screen every time

      which means i can achieve what i want without even a single bit of CALL ABSOLUTE assembly

      eniko@mastodon.gamedev.placeE 1 Reply Last reply
      0
      • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

        this means i can PUT tiles to screen which at the lowered resolution should be fast enough, and i don't have to copy anything for the double buffering, so i should be able to redraw the entire screen every time

        which means i can achieve what i want without even a single bit of CALL ABSOLUTE assembly

        eniko@mastodon.gamedev.placeE This user is from outside of this forum
        eniko@mastodon.gamedev.placeE This user is from outside of this forum
        eniko@mastodon.gamedev.place
        wrote sidst redigeret af
        #3

        now i gotta decide if i wanna do this inside the qbasic IDE for retro charm or if im just gonna use notepad++ on my workstation with a dosbox launcher

        eniko@mastodon.gamedev.placeE joe@f.duriansoftware.comJ 2 Replies Last reply
        0
        • eniko@mastodon.gamedev.placeE This user is from outside of this forum
          eniko@mastodon.gamedev.placeE This user is from outside of this forum
          eniko@mastodon.gamedev.place
          wrote sidst redigeret af
          #4

          @bri7 yeah i did

          1 Reply Last reply
          0
          • eniko@mastodon.gamedev.placeE This user is from outside of this forum
            eniko@mastodon.gamedev.placeE This user is from outside of this forum
            eniko@mastodon.gamedev.place
            wrote sidst redigeret af
            #5

            @bri7 but... its a nostalgia trip? >_>

            1 Reply Last reply
            0
            • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

              now i gotta decide if i wanna do this inside the qbasic IDE for retro charm or if im just gonna use notepad++ on my workstation with a dosbox launcher

              eniko@mastodon.gamedev.placeE This user is from outside of this forum
              eniko@mastodon.gamedev.placeE This user is from outside of this forum
              eniko@mastodon.gamedev.place
              wrote sidst redigeret af
              #6

              eyyy its fuckin' working!

              #qbasic #RetroComputing #retrodev #dos #MSDos

              the_gayest_goat_on_elekk@elekk.xyzT eniko@mastodon.gamedev.placeE 2 Replies Last reply
              0
              • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

                eyyy its fuckin' working!

                #qbasic #RetroComputing #retrodev #dos #MSDos

                the_gayest_goat_on_elekk@elekk.xyzT This user is from outside of this forum
                the_gayest_goat_on_elekk@elekk.xyzT This user is from outside of this forum
                the_gayest_goat_on_elekk@elekk.xyz
                wrote sidst redigeret af
                #7

                @eniko page to page communication

                1 Reply Last reply
                0
                • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

                  eyyy its fuckin' working!

                  #qbasic #RetroComputing #retrodev #dos #MSDos

                  eniko@mastodon.gamedev.placeE This user is from outside of this forum
                  eniko@mastodon.gamedev.placeE This user is from outside of this forum
                  eniko@mastodon.gamedev.place
                  wrote sidst redigeret af
                  #8

                  sadly i cannot use PRINT for text because it only works in 8 pixel rows and columns and wouldn't you know it: 100 is not cleanly divisible by 8

                  which means i can't ever align the text the same vertically on both pages

                  eniko@mastodon.gamedev.placeE tonyg@pubsub.leastfixedpoint.comT 2 Replies Last reply
                  0
                  • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

                    sadly i cannot use PRINT for text because it only works in 8 pixel rows and columns and wouldn't you know it: 100 is not cleanly divisible by 8

                    which means i can't ever align the text the same vertically on both pages

                    eniko@mastodon.gamedev.placeE This user is from outside of this forum
                    eniko@mastodon.gamedev.placeE This user is from outside of this forum
                    eniko@mastodon.gamedev.place
                    wrote sidst redigeret af
                    #9

                    im filling the screen with tiles using PUT and then page flipping as fast as i can. i know dosbox isn't that accurate, but i set the cpu type to 386 and set cycles to 6000 which the conf file suggests is 386-ish (i found somewhere else that said 7800 is better so if anything its running slow)

                    and it's running at 52 fps 😄

                    craigp@mastodon.socialC devlin@topspicy.socialD nazokiyoubinbou@urusai.socialN eniko@mastodon.gamedev.placeE 4 Replies Last reply
                    0
                    • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

                      im filling the screen with tiles using PUT and then page flipping as fast as i can. i know dosbox isn't that accurate, but i set the cpu type to 386 and set cycles to 6000 which the conf file suggests is 386-ish (i found somewhere else that said 7800 is better so if anything its running slow)

                      and it's running at 52 fps 😄

                      craigp@mastodon.socialC This user is from outside of this forum
                      craigp@mastodon.socialC This user is from outside of this forum
                      craigp@mastodon.social
                      wrote sidst redigeret af
                      #10

                      @eniko Wow, this sure brings back memories. QBasic...

                      eniko@mastodon.gamedev.placeE 1 Reply Last reply
                      0
                      • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

                        sadly i cannot use PRINT for text because it only works in 8 pixel rows and columns and wouldn't you know it: 100 is not cleanly divisible by 8

                        which means i can't ever align the text the same vertically on both pages

                        tonyg@pubsub.leastfixedpoint.comT This user is from outside of this forum
                        tonyg@pubsub.leastfixedpoint.comT This user is from outside of this forum
                        tonyg@pubsub.leastfixedpoint.com
                        wrote sidst redigeret af
                        #11

                        @eniko Ooooh though could you have the first page be 100 displayed, but the offset to the second page start at line 104 instead of line 100? It might just fit, 320x204 = 65280 < 65536...

                        eniko@mastodon.gamedev.placeE 1 Reply Last reply
                        0
                        • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

                          im filling the screen with tiles using PUT and then page flipping as fast as i can. i know dosbox isn't that accurate, but i set the cpu type to 386 and set cycles to 6000 which the conf file suggests is 386-ish (i found somewhere else that said 7800 is better so if anything its running slow)

                          and it's running at 52 fps 😄

                          devlin@topspicy.socialD This user is from outside of this forum
                          devlin@topspicy.socialD This user is from outside of this forum
                          devlin@topspicy.social
                          wrote sidst redigeret af
                          #12

                          @eniko huh, TIL. I just knew that 23880 is "about 486 dx2/66" speed

                          eniko@mastodon.gamedev.placeE 1 Reply Last reply
                          0
                          • devlin@topspicy.socialD devlin@topspicy.social

                            @eniko huh, TIL. I just knew that 23880 is "about 486 dx2/66" speed

                            eniko@mastodon.gamedev.placeE This user is from outside of this forum
                            eniko@mastodon.gamedev.placeE This user is from outside of this forum
                            eniko@mastodon.gamedev.place
                            wrote sidst redigeret af
                            #13

                            @devlin i dunno, i found this https://www.dosbox.com/wiki/Performance which says 26800

                            and the dosbox staging conf file suggests 25000

                            1 Reply Last reply
                            0
                            • tonyg@pubsub.leastfixedpoint.comT tonyg@pubsub.leastfixedpoint.com

                              @eniko Ooooh though could you have the first page be 100 displayed, but the offset to the second page start at line 104 instead of line 100? It might just fit, 320x204 = 65280 < 65536...

                              eniko@mastodon.gamedev.placeE This user is from outside of this forum
                              eniko@mastodon.gamedev.placeE This user is from outside of this forum
                              eniko@mastodon.gamedev.place
                              wrote sidst redigeret af
                              #14

                              @tonyg hmm yeah that's a possibility. but none of the qbasic drawing functions would work on that last 4 lines, so that's kind of a problem

                              i suppose i could cut those lines and go with 160x96 instead of 160x100?

                              tonyg@pubsub.leastfixedpoint.comT 1 Reply Last reply
                              0
                              • craigp@mastodon.socialC craigp@mastodon.social

                                @eniko Wow, this sure brings back memories. QBasic...

                                eniko@mastodon.gamedev.placeE This user is from outside of this forum
                                eniko@mastodon.gamedev.placeE This user is from outside of this forum
                                eniko@mastodon.gamedev.place
                                wrote sidst redigeret af
                                #15

                                @Craigp its a lot of fun working around the limitations 😄 especially since i'm not using the faster compiled one and i refuse to use assembly tricks

                                craigp@mastodon.socialC 1 Reply Last reply
                                0
                                • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

                                  im filling the screen with tiles using PUT and then page flipping as fast as i can. i know dosbox isn't that accurate, but i set the cpu type to 386 and set cycles to 6000 which the conf file suggests is 386-ish (i found somewhere else that said 7800 is better so if anything its running slow)

                                  and it's running at 52 fps 😄

                                  nazokiyoubinbou@urusai.socialN This user is from outside of this forum
                                  nazokiyoubinbou@urusai.socialN This user is from outside of this forum
                                  nazokiyoubinbou@urusai.social
                                  wrote sidst redigeret af
                                  #16

                                  @eniko It's very approximate, but 6000 would be apx a 386 at almost 33MHz. So yeah, it's a 386, but a pretty fast one.

                                  Well, most basic was originally meant to run on crazy low stuff like an 8088, so if you're emulating a decent system it's going to go pretty well I guess.

                                  1 Reply Last reply
                                  0
                                  • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

                                    im filling the screen with tiles using PUT and then page flipping as fast as i can. i know dosbox isn't that accurate, but i set the cpu type to 386 and set cycles to 6000 which the conf file suggests is 386-ish (i found somewhere else that said 7800 is better so if anything its running slow)

                                    and it's running at 52 fps 😄

                                    eniko@mastodon.gamedev.placeE This user is from outside of this forum
                                    eniko@mastodon.gamedev.placeE This user is from outside of this forum
                                    eniko@mastodon.gamedev.place
                                    wrote sidst redigeret af
                                    #17

                                    notched it up to 486 33mhz and added a vblank wait and now its rocking a steady 70fps 💪

                                    nazokiyoubinbou@urusai.socialN eniko@mastodon.gamedev.placeE 2 Replies Last reply
                                    0
                                    • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

                                      @tonyg hmm yeah that's a possibility. but none of the qbasic drawing functions would work on that last 4 lines, so that's kind of a problem

                                      i suppose i could cut those lines and go with 160x96 instead of 160x100?

                                      tonyg@pubsub.leastfixedpoint.comT This user is from outside of this forum
                                      tonyg@pubsub.leastfixedpoint.comT This user is from outside of this forum
                                      tonyg@pubsub.leastfixedpoint.com
                                      wrote sidst redigeret af
                                      #18

                                      @eniko Oh, I see. Yeah, on the second page. That's a shame!

                                      eniko@mastodon.gamedev.placeE 1 Reply Last reply
                                      0
                                      • tonyg@pubsub.leastfixedpoint.comT tonyg@pubsub.leastfixedpoint.com

                                        @eniko Oh, I see. Yeah, on the second page. That's a shame!

                                        eniko@mastodon.gamedev.placeE This user is from outside of this forum
                                        eniko@mastodon.gamedev.placeE This user is from outside of this forum
                                        eniko@mastodon.gamedev.place
                                        wrote sidst redigeret af
                                        #19

                                        @tonyg its fine to be honest. making my own variable width font means i'll be able to cram way more text onto the screen anyway, even if its a bit of a pain

                                        1 Reply Last reply
                                        0
                                        • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

                                          @Craigp its a lot of fun working around the limitations 😄 especially since i'm not using the faster compiled one and i refuse to use assembly tricks

                                          craigp@mastodon.socialC This user is from outside of this forum
                                          craigp@mastodon.socialC This user is from outside of this forum
                                          craigp@mastodon.social
                                          wrote sidst redigeret af
                                          #20

                                          @eniko When I was using it, I didn't even know what a compiler was. And if I left the machine on for more than an hour, it would overheat and begin randomly flipping bits.

                                          Enforced breaks, probably should be part of modern machines too.

                                          eniko@mastodon.gamedev.placeE 1 Reply Last reply
                                          0
                                          Svar
                                          • Svar som emne
                                          Login for at svare
                                          • Ældste til nyeste
                                          • Nyeste til ældste
                                          • Most Votes


                                          • Log ind

                                          • Har du ikke en konto? Tilmeld

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          Graciously hosted by data.coop
                                          • First post
                                            Last post
                                          0
                                          • Hjem
                                          • Seneste
                                          • Etiketter
                                          • Populære
                                          • Verden
                                          • Bruger
                                          • Grupper