ASM, interrupt Call, call absolute
- SebMcClouth
- Veteran
- Posts: 240
- Joined: Fri Apr 29, 2005 2:20 am
- Location: Inside the Matrix
ASM, interrupt Call, call absolute
I have noticed they combining these ASM (ASM and call absolute are together, I now) and interrupt call, go straight in not being able to run the program at all. Is there a way to get around this?
grtz
grtz
- SebMcClouth
- Veteran
- Posts: 240
- Joined: Fri Apr 29, 2005 2:20 am
- Location: Inside the Matrix
If I combine and together in a program e.g. using CALL ABSOLUTE to get info on the CPU and CALL INTERRUPT to get info on the videocard, QB 4.5 says it can't find the , eventhough I have included.
grtz
Code: Select all
CALL ABSOLUTE
Code: Select all
CALL INTERRUPT or CALL INTERRUPTX
Code: Select all
SUB ABSOLUTE
Code: Select all
'$include:'qb.bi'
grtz
- SebMcClouth
- Veteran
- Posts: 240
- Joined: Fri Apr 29, 2005 2:20 am
- Location: Inside the Matrix
The problem is most likely that the CALL ABSOLUTE declare in QB.BI conflicts with your CALL ABSOLUTE statements in your program. This is because CALL ABSOLUTE is declared with only one parameter in QB.BI, but the assembly routines you are using take multiple parameters.
To fix this, just remove the CALL ABSOLUTE declare in QB.BI.
To fix this, just remove the CALL ABSOLUTE declare in QB.BI.
- SebMcClouth
- Veteran
- Posts: 240
- Joined: Fri Apr 29, 2005 2:20 am
- Location: Inside the Matrix
- SebMcClouth
- Veteran
- Posts: 240
- Joined: Fri Apr 29, 2005 2:20 am
- Location: Inside the Matrix
- SebMcClouth
- Veteran
- Posts: 240
- Joined: Fri Apr 29, 2005 2:20 am
- Location: Inside the Matrix
- SebMcClouth
- Veteran
- Posts: 240
- Joined: Fri Apr 29, 2005 2:20 am
- Location: Inside the Matrix