Welcome, Guest. Please login or register.

Author Topic: Some questions about Amiga E  (Read 5359 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2280
  • Country: us
  • Gender: Male
    • Show all replies
Some questions about Amiga E
« on: February 18, 2018, 07:55:11 PM »
A better link for a beginner would be http://cshandley.co.uk/JasonHulance which is also in AmigaGuide format with the main AmigaE download.  To answer the question more directly, you need to include the module called 'dos/dos.m' to allow direct access to DOS.library functions.  VfPrintF is the equivalent of PrintF but to a file handle.  If you need to compile a Kickstart 1.3 compatible executable, pass the file handle, the EString itself, and the length of the EString to Fwrite.

Note that system functions must start with a capital letter followed by a lowercase letter.  If you can't figure out the correct case sensitive spelling, use showmodule on the library's module file.
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2280
  • Country: us
  • Gender: Male
    • Show all replies
Re: Some questions about Amiga E
« Reply #1 on: February 20, 2018, 06:18:16 PM »
Good show!  ELists are the way E implements varargs and tagitems also.  VfPrintf is a kickstart routine in DOS.library that normally uses varargs so it makes sense to pass the parameters in an EList.
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2280
  • Country: us
  • Gender: Male
    • Show all replies
Some questions about Amiga E
« Reply #2 on: February 24, 2018, 07:11:18 AM »
Re:character value representation
E doesn't support unsigned numbers so you need to represent bytes greater than 127 as negative numbers.