Jump to content

thank you

Members
  • Posts

    87
  • Joined

  • Last visited

Posts posted by thank you

  1. happy new baseball season, fellow teenagers.

     

    in honor of this event i have created a simulation.  unfortunately i ran out of time for balls and strikes and outs.  there are no players or fans or umps, or graphics or sounds, or extra innings.

     

    but there is a scoreboard.

     

    atari007.png.e1d5cca19bb141d25af14862450fb05b.png


    as in real baseball, all of the magic happens in line 29.

     

    atari006.png.f6b77535146941ad9205c6c4c0b355db.png

     

    may all of our teams be above .500

     

    thank you

    • Like 2
    • Thanks 1
  2. i went from 130xe to 386dx in 1994, so i missed a lot of things.

     

    i don't know if there would have been an appetite for vendor specific PC add-ons in the 80s...

     

    But it seems there were only a few survivors:

     

    Apple/Mac was inferior for so long but made it through somehow.

     

    Software companies like EA moving to PC... Atari tried this to some extent (not sure when this started)

     

    Nintendo was maybe the best case for Atari but the NES and Gameboy were compelling vs. 7800 and Lynx (Tetris, Mario).

     

    Maybe they could have put out a crappy PC-DOS and saved us from fifty years of MS, but now I'd probably hate Atari instead ;)

  3. 12 hours ago, baktra said:

    One small step forward with Turbo D

     

    The meaning of the first 5 bytes of each data block is the following:

     

    Offset

    0,1 - Length of the data, encoded as HI(length)+1,LO(length)+1. Strange way of encoding, perhaps to do with easy use of the carry?

    2,3 - Length of the data+3, encoded as HI(length+3)+1,LO(length+3)+1. Even stranger.

    4 - Sequential number of the block, beginning with $00.

    Then block data follows, this is clear.

    Then one or two bytes follow. Most likely checksum, still unknown algorithm.

     

    Hi baktra,

     

    i like how you document your project.

     

    This post reminds me of inheriting projects at work, and the breakthrough coming finally when i abandon the idea "this doesn't make sense to me" and adopt the idea "this doesn't make sense".  Suddenly, progress!

     

    thanks!

    • Like 1
  4. This has always worked for me...

     

    6969 DATA 69,69

     

     

    Seriously though, In the old days (assuming a type-in) you'd just go back over it from the start...  always sucked when you'd make an error that gave the correct 'checksum' from the 'proofreader'...

     

    There is not enough information presented for anybody to answer this question but I do count 21 DATA statements so they have to have on average 20 elements each (last two lines are 18 so.... ?)

     

     

    • Haha 1
  5. So I saw the problem posed by @Preppie but your solution and the solution by @vitoco didn't make sense to me... I'm not fluent in FastBASIC, especially "10-liner'd".

     

    But I was interested so I worked out a potentially clever solution using a spreadsheet and some Python:

     

    n = 129
    t = [0,192,48,240,12,204,60,252,3,195,51,243,15,207,63,255]
    print(256*t[n//16]+t[n%16])

     

    So now, I understood vitoco's solution... at least I was on the right track.  But then I think maybe the lookup table can be replaced by an expression...

     

    n = 129
    f = lambda x: (x+1)//2*192-x//2*144-84*(x>3)-84*(x>11)-105*(x>7)
    print(256*f(n//16)+f(n%16))

     

    Now I'm realizing I'm trying to implement Preppie's solution, but he understands it better :)  I'm done here!

     

    We should have a monthly 'code golf' type thing so you and the other experts can show off the chops.

     

    @rdefabri good luck with your game, I bet you can make it.

     

     

     

    • Like 3
  6. On 1/29/2024 at 3:59 AM, Qwe said:

    Hi CaptMatteus,

    could you share the included file "hardware.s" ?
    Thank you

    hello,

     

    this file just defines some equates for memory locations.  it looks like only five are used in the code...  i think you can find a similar 'include' in the CC65/CA65 sources.

     

    sdlstl =$0240

    setvbv = $E45C

    sysvbv = $E45F

    color0 = $02C4

    color1 = $02C5

     

    https://www.atariarchives.org/mapping/memorymap.php

     

    good luck!

  7. 2 hours ago, E474 said:

    Quick question.

     

      I'm running Altirra under wine, and the online help system is broken (in wine). I can't find the mappings for Start, Select and Option in the UI, what are they mapped to on the keyboard (I literally can't find this info anywhere in the UI!).

     

      Thanks!

    I don't have access right now but pretty sure it's F2, F3, and F4, in some order...

    • Like 1
  8. 3 hours ago, Harry Potter said:

    How do I take a screenshot in the Altirra64 emulator?  I don't know what version I have but could easily check.

    I don't know if you're even for real...

     

    one could easily check https://duckduckgo.com/?t=ftsa&q=altirra+screenshot&ia=web

     

    you can also find recommended games this way.  or check the parent forum, we do this topic every few months there.

  9. 23 hours ago, Ricky Spanish said:

    So not finding a particular DOS or BASIC suits my needs or curiosity & asking questions makes others feel abused ?

    Noted.

    I'll just lurk in the background. 

    Thanks. 

    As a background lurker...

     

    If all you can take from phaeron being frustrated and the constructive criticism from dmsc (who are both legends and have the patience of saints) is 'lol, sorry you got triggered!' well goodbye.  nothing personal obviously.

     

    thank you

    • Like 2
  10. in linux you can use xdotool

     

    sudo apt install xdotool

    atari800 -basic

     

    [then from another terminal]

     

    xdotool key --window $(xdotool search --name "Atari 800 Emulator, Version 4.2.0") a

     

    atari004.png.e445781c302143db517f9982db7741f1.png

     

    edit: send multiple keystrokes like this, we have to add delay between them.

    xdotool key --delay 100 --window $(xdtool search --name "Atari 800 Emulator, Version 4.2.0") 4 2

    • Like 1
    • Thanks 1
×
×
  • Create New...