
Amos → SdlBasic の移植用語集

• Dim
    Amos:
      Dim var(size)
    SdlBasic:
      Dim var[size] 

• GetBob/Grab
    Amos:
      Get Bob n,x,y To x+xs-1,y+ys-1
    SdlBasic:
      grab(n,x,y,xs,ys)

• LoadIff/Loadimage
    Amos:
      Load Iff filename$,bank
    SdlBasic:
      Loadimage(filename$,bank)

• ProcedureEndProc/SubEndSub
    Amos:
      Procedure proc1[value1,value2]
      End Proc
    SdlBasic:
      sub proc1(value1,value2)
      End sub

• ScreenOpen/SetDisplay
    Amos:
      Screen Open n,xsize,ysize,2^bitdepth,resolution
    SdlBasic:
      setdisplay(xsize,ysize,bitdepth,displaymode)
    (備考: bitdepth と resolution の命令は異なるようです)

• Plot/Dot
    Amos:
      Plot x,y
    SdlBasic:
      Dot (x,y)




