Changes
Jump to navigation
Jump to search
no edit summary
* Opcode: '''0x48'''
* Short name: '''ASK'''
* Long name: Ask Question
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x48
! width="40" | ''Bank''
! width="40" | ''Win''
! width="40" | ''Mess''
! width="40" | ''First''
! width="40" | ''Last''
! width="40" | ''Addr''
|}
==== Arguments ====
* '''const UByte''' ''Bank'': Bank to put line selected.
* '''const UByte''' ''Win'': Window ID to place the question in. (Initialized with WINDOW)
* '''const UByte''' ''Mess'': Which dialog to display from dialog table.
* '''const UByte''' ''First'': Line where first question is.
* '''const UByte''' ''Last'': Line where last question is.
* '''const UByte''' ''Addr'': Address in bank where line selected is written.
==== Description ====
The ASK command opens a window with a set of choices to be picked with the "selector finger". If ASK is called on an open window ID, the window will shrink closed and re-open with the new data.
* Short name: '''ASK'''
* Long name: Ask Question
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x48
! width="40" | ''Bank''
! width="40" | ''Win''
! width="40" | ''Mess''
! width="40" | ''First''
! width="40" | ''Last''
! width="40" | ''Addr''
|}
==== Arguments ====
* '''const UByte''' ''Bank'': Bank to put line selected.
* '''const UByte''' ''Win'': Window ID to place the question in. (Initialized with WINDOW)
* '''const UByte''' ''Mess'': Which dialog to display from dialog table.
* '''const UByte''' ''First'': Line where first question is.
* '''const UByte''' ''Last'': Line where last question is.
* '''const UByte''' ''Addr'': Address in bank where line selected is written.
==== Description ====
The ASK command opens a window with a set of choices to be picked with the "selector finger". If ASK is called on an open window ID, the window will shrink closed and re-open with the new data.