Jump to content

First Spear

Members
  • Content Count

    1,676
  • Joined

  • Last visited

Posts posted by First Spear


  1. Hey all. I have multiple [7] values in the below array. I want to pick a random index from the array where the value is [7], which means I want a 2 or 3 or 4. How can I do that in IntyBASIC?

     

    .

    Dim myarray(17)
    myarray(0) = 0
    myarray(1) = 6
    myarray(2) = 7
    myarray(3) = 7
    myarray(4) = 7
    myarray(5) = 3
    myarray(6) = 14
    myarray(7) = 15
    myarray( = 15
    myarray(9) = 15
    myarray(10) = 11
    myarray(11) = 11
    myarray(12) = 13
    myarray(13) = 13
    myarray(14) = 15
    myarray(15) = 15
    myarray(16) = 9
    Or should I turn this idea on its head and instead do something like this
    Dim myarray0(1)
    myarray0(0) = 0
    Dim myarray6(1)
    myarray6(0) = 1
    Dim myarray7(3)
    myarray7(0) = 2
    myarray7(1) = 3
    myarray7(2) = 4
    mynuvar = myarray7(rand and 3)
    ?
    Thanks.

  2. I washed a couple of the TrueTypes through Inty Letterpress to see what they might look like on a real Intellivision. Wow, anti-aliasing really matters. :)

     

    imagicpresents.jpg

     

    Darn, after all that, I still forgot a couple fonts. Here's an updated package. Again, the main fonts are in the top directory and alternates or less important fonts are in subfolders just for the sake of completeness.


  3. I get the feeling that it was rushed, because the unit itself is too large for what it does, maybe if there was more time to engineer it would have been less conspicuous of an add-on if it was 1/2 the size and didn't look so obvious.

     

    I also get the geeling that someone mis-forecasted the amount of Intellivoice units they would sell in the Intellivision I timeframe, because it really looks clunky connected to an Intellivision II.


  4. Their website doesn't show it, and web searches basically come up dry. It's probably frustrating to me only because I do digital marketing tech all day, so when I see something/someone great that isn't marketing it and potentially making less money because of it, I get a little crazy.

     


     

    William did announce it on Facebook. I'm not sure why he hasn't announced it here yet.

    Here's his post in its entirety.
    • Like 1

  5. I got an email because I signed-up to receive Naberhod info because I bought Kroz that way.

     

    These guys, not to mention anyone else that makes Intellivision stuff and actually wants to distribute it, need to advertise. I fully support "it's ready when it's ready and we announce only when it's ready", but I hate to see things that I love, underloved, when they are actually ready.

     

    If I Google search for "boulderdash" I don't find any organic search about the Intellivision version.

     

    If I Google search for "boulderdash intellivision" the organic search results are also weak.

     

    And no Paid Search results at all.

     

     

     

     

    What's up with such a quiet rollout? This is how people potentially miss out on a release. Oh well, guess I gotta drop in on the Naberhood more often. :lol:

     

    Order placed!


  6. Here is a question outside of the regular hardcore coding issues on this subforum:

     

    What is your point-of-view on having "feelies" ( en.m.wikipedia.org/wiki/Feelie ) go along with an Intellivision game? I was thinking it might be interesting to copy protect a game with something off-cartridge that would be required to play. It might even add flavor to a CIB release. Even though there is a risk that folks might just "patch out" the part that requires the feelies (eg code wheel) and post a ROM on a site, do you have an opinion on how something might be done that fits in the Intellivision platform constraints?[

     

    Just some Sunday theory, what are some things you think you think?


  7. This has been touched on a few times in different threads I think.

     

    I am trying to capture disc-only input from Controller #2, not confusing it with keypad input.

     

    My pseudo-code is

    main loop:
     if cont2.key = 12 gosub disccheck
     wait
    goto loop
    
    disccheck:
    If cont2.right <> 0 and cont2.up = 0 and cont2.down <> 0 Then gosub moverightonly
    etc

    This successfully lets a disc-push to the right only go right, it does not accept diagonals, which is what I want. However, pressing [6] on the keypad still moves to the right, which I don't want.

     

    What is the right pattern for distinguishing the input?

     

     

    Thanks.


  8. Hey all. I have used up all of my GRAM tiles making a title screen. The first few lines of the program, generated by IntyColor, look like this:

     

    REM stub for showing image, only for 160x96 bitmaps
    MODE 0,11,11,11,11
    WAIT
    DEFINE 0,16,DataScreenTitle_bitmaps_0
    WAIT
    DEFINE 16,16,DataScreenTitle_bitmaps_1
    WAIT
    DEFINE 32,16,DataScreenTitle_bitmaps_2
    WAIT
    DEFINE 48,15,DataScreenTitle_bitmaps_3
    WAIT
    SCREEN DataScreenTitle_cards
    loop:
    GOTO loop
    
    
    ' 63 bitmaps
    DataScreenTitle_bitmaps_0:

     

     

    Now I need to wipe the screen clean and use a different set of tiles for a different part of the game.

     

    The IntyBASIC manual states

     

    Label can be also an 16-bits array for dynamically defined GRAM.
    DIM #graphic(4)
    DEFINE 0,1,#graphic

     

     

     

    So I am sure it is possible to clear the screen, swap out the GRAM for a different set of tiles, but I don't know how the syntax works. Can anyone point me to a sample that shows how to swap DATA<->GRAM?

     

    Thanks.

     

     


  9. Hey all. I am looking for sound effect "patterns" used in ST games/programs/etc. If my understanding is correct, the PSG accepts a series of instructions for the discrete sound and noise channels along with envelope info to make different noises.

     

    Where can I find these, online? I'm not looking for songs per se, just the notation used to make sound effects.

     

     

    Thanks.

     

     


  10. So the usage pattern is

     

    Play music

    Stop music

    Play noise channel (ie, play an explosion)

    Start music over

     

    ?

     

     

     

     

    Once you activate PLAY SIMPLE the music tracker takes control of SOUND 0, SOUND 1 and SOUND 4, you can edit these but them will be resetted each frame to the current music.

     

    This is the cause I've implemented PLAY NONE so you can retake control of SOUND 4 for explosions and similar.


  11. I ripped some of the music playing from the IntyBASIC sample code and added stuff to make noise play on button push. I am trying to make a sound similar to the hero getting kicked in Tropical Trouble.

     

    Whether Line 6 (starting the music play) is enabled, or not, the noise does not play correctly and the code never reaches line 36. Help?

    Mode 0,0,0,0,0
    #soundTemp = 1
    CLS
    Wait
    Play Simple
    Play Music01
    Wait
    
    
    LoopMain:
    Wait
    If CONT.B2 Then GoSub TonePlay02
    Goto LoopMain
    
    
    TonePlay02: Procedure
    Print At 23 Color 5 , "On "
    Restore NoiseRoll
    #soundTemp = 1
    Sound 4 , #soundTemp , &011100
    While #soundTemp <> 65535
    Read #soundTemp
    Sound 4 , #soundTemp , &011100
    Read #soundTemp
    Sound 0, $0000, #soundTemp
    For #spinWait = 0 to 5
             Wait
            Next #spinWait
    Wend
    Sound 0, $0000, 15
    Sound 4, $0000, &011100
    Restore DataNullState
    Wait
    Sound 4 , #soundTemp , &011100
    Wait
    Sound 4, $0000, &011100
    Wait
    Print At 23 Color 5 , "Off"
    Return
    End
    
    
    
    
    NoiseRoll:
    Data $3FF , $0E , $3C7 , $0E , $390 , $0E , $35D , $0D , $32D , $0D , $2FF , $0C , $2D4 , $0C , $2AB , $0B , $285 , $0B , $261 , $0B , $23F , $0A , $213 , $0A , $1FF , $09 , $1E3 , $09 , $1C8 , $08 , $1AE , $08 , 65535
    
    
    
    
    DataNullState:
    
    
    
    
    Music01: DATA 7
    MUSIC F4,-
    MUSIC S,-
    MUSIC A4,-
    MUSIC S,-
    MUSIC F4,-
    MUSIC S,-
    MUSIC C5,-
    MUSIC S,-
    MUSIC F4,-
    MUSIC S,-
    Music Repeat
    

    Thanks.

     

     

     

     

    It's maybe better understood as "xx0xx1" and "xx0xx0", where the 'x' aren't relevant to the demo and could be zero OR one, as long as those channels' volumes are 0. ie. I didn't bother with Channel B or Channel C; I just left them at their default of 'tone enabled, noise disabled', but really they didn't factor into the demo.

     

    To move the demo to channel C, then the patterns become 0xx1xx for noise-only, and 0xx0xx for noise-and-tone on Channel C. If you have music playing on A and B, then you want &011100 for "noise on C, tone on A and B." I'm not sure what happens if the music contains anything that needs the noise channel. :)

     

    muno.bas


  12. One of the things mentioned on the podcast was putting a label (sticky note, grease pencil, etc) on things that are valuable, as you use them, so the next person (eg spouse) can actually try to get real money for your Spiker or official set of Intellivisionaries Drinking Glasses.

     

    Myself, I try (try) to minimize what I have and get kids interested so when I go they might continue to get a little enjoyment from them and recognize they are "something". Just looking at a cart of Carol vs Ghost or Microsurgeon belies the fun baked inside. :) Since I don't have boxes for my titles, my wife is less inclined to be irritated at all of the carts I own, so there is a better chance they will stay in my house. :)

     

     

     

     

    I'm between leaving it to my brother, to a friend, or donate it to a guy that runs a museum or a guy that runs retro-style exhibitions.

    In any case if I get married I would prefer to leave it to my spouse, so she can get money for it in case of kids, I'll be careful enough to give her a list with reference prices.

    • Like 1

  13. Little endian. I should have looked at/for that before I asked. Thanks intvnut!

     

     

    Also... 111011 just enables tone on channel C, and disables everything else. If you just want noise on channel A, and everything else disabled, that's 110111.

     

    The bits are numbered right to left: 543210. Don't blame me for the numbering. It's standard "little endian" numbering.


  14. Retro Computing Roundtable Podcast #95 had the topic (paraphrased) "What should/could happen to all of your retro gear when you are 'out of the picture'?"

     

    The episode was pretty good. I think it applies to us on this forum as our median age is somewhere around 38+, and numbers of collectors and enthusiasts can be expected to dwindle over time for any number of reasons.

     

    What should happen to your collection of Intellivision goodies when the inevitable happens?

    • Like 2
×
×
  • Create New...