User Tag List

Results 1 to 3 of 3

Thread: DrawBitmapEx and other New Things -> ZASM Command Limit Reached ?!

  1. #1
    The Timelord
    QDB Manager
    ZC Developer

    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,760
    Level
    21
    vBActivity - Bars
    Lv. Percent
    68.72%

    DrawBitmapEx and other New Things -> ZASM Command Limit Reached ?!

    I've been working on the merger of 2.50.x and master, and I have a major problem:

    I added DrawBitmapEX to the system, and I know that my function works--it's an overly simplified placeholder--, and I'm relatively certain that I implemented it properly.

    ...however...

    When I try to call DrawBitmapEx() in ZC, I receive this error:

    Invalid ZASM Command 233 reached.


    @Gleeok : Does this mean that I've hit some artificial cap in how many ZASM instructions are available in the bytecode (ASM_DEFINE)?

    Here is a ZIP with all the code, and the binaries...

    http://timelord.insomnia247.nl/zc/zc...254_beta_6.zip

    ... and here is a quest file to demonstrate this...

    http://timelord.insomnia247.nl/zc/zc_dev/bitty.qst

    Did I do anything wrongly, or is this a more complicated fix? If the bytecode table is capped out, we absolutely need to fix that so that I can reimplement all the new drawing functions. I thought that the size of the table scaled with NUMCOMMANDS...?

    P.S. I erased the .sav file, and made a new one before testing this, so it's not a problem with an older save format; unless I need to adjust something in the save file definitions???

  2. #2
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,430
    Level
    24
    vBActivity - Bars
    Lv. Percent
    69.58%
    233 is GETDMAPSCREENDOOR, and it isn't handled.

  3. #3
    The Timelord
    QDB Manager
    ZC Developer

    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,760
    Level
    21
    vBActivity - Bars
    Lv. Percent
    68.72%
    Quote Originally Posted by Saffith View Post
    233 is GETDMAPSCREENDOOR, and it isn't handled.
    Oh, I see what I did. I wasn't aware that temporary entries in the ASM_DEFINE table would throw errors unless they were called

    Thank you, @Saffith . it's fixed now, so I'll move on to DrawTileArray, DrawComboArray, DrawPixelArray, and CreateBitmap. I've no idea if these worked in 'master', but I suppose we'll find out.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social