• src/conio/bitmap_con.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Oct 5 11:59:56 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/28411ee7643138917cb6e218
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    First attempt at fixing bug ticket 209

    Apparently new for v1.7 we're snapping to the next lower integer
    scaling on any clal to textmode()... this is bad because some
    people don't want integer scaling for various excellent reasons.

    Deal with this two ways when calling textmode() and not already
    using integer scaling:
    1) Save the previous scaling and if the stars align, just re-use
    it instead of trying to recalculate it (a fools errand after
    round-tripping through C64 for example).
    2) Otherwise, do successive estimations until we're taking steps
    of less than 0.00005 in the multiplier, then call it good. This
    gets pretty close, but can add or remove a few pixels.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Oct 5 11:59:56 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/015f538592ebcdfc1be12715
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Some compilers won't let us _Static_assert() a const variable.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Oct 6 09:27:55 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/938ed45d5e2e6ed82fd98ff3
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Fiddle with the integer/double scaling choice

    If the current scaling less than 0.0125 from an integer value, use
    integer scaling otherwise do the save/restore/iterate method to
    try and keep a constant diagonal window size.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Oct 6 21:36:05 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/e471b0752de88af0d6a023ed
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    We have 12x20 fonts, not 8x20.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Oct 8 12:34:07 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/7d5452a09f9e1b2fa25147b2
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Fix crash when using a two character wide output window

    Not sure exactly why it's triggering, but it's fixed now.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Oct 8 12:34:07 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/dcda68ff4f69686722b01362
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Do just enough that some bits can handle screen widths over 255.

    Needed for SyncView BinaryText, fil-412.bin which is 400 columns,
    b7ree_of_life by GOO from BLOCKTRONICS which is 500, and
    IMPURE (goo-unreign.bin) also by GOO, but via 67.

    These are also making me contemplate the 60 row limit. :D
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Oct 22 16:03:54 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/6ad075d7b59ca41a41926f3e
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Fix setting custom cursor with ratio of 0.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Oct 23 01:14:50 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/13ed0db24d500c1dbd1a72f9
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Fix crash from overflow

    If the passed values are high enough, the integer would overflow
    when the width was added, it was assumed to be in the buffer.

    Explicitly check that the start points are in the bufferr too.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)