home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-0198 / AMOSLIST / text0001.txt < prev    next >
Encoding:
Text File  |  1998-06-24  |  1.3 KB  |  43 lines

  1. Hello.
  2.  
  3. I'm Timo Engman, and programming a new extension - which is called 
  4. "Second-Hand Extension", the current version is 0.01d6 but please, all 
  5. AMOSPro users - mail me and let me hear if I may add new commands to this 
  6. extension that the users want...For now, the extension have five commands 
  7. :-) pretty lame. But I learning how to program the graphics...
  8.  
  9. Bmove adr,x - move bytes quick as hell much faster than Poke (no checking)
  10. Wmove adr,x - same here but words much faster than Doke
  11. Lmove adr,x - same here but longwords , faster than Loke
  12.  
  13. I mean 4-5 times faster !!!
  14.  
  15. and then two shitty commands
  16.  
  17. Shand Version
  18. Shand Stage$
  19.  
  20. The extension uses slot 22 but mail me and I may change it to whatever.
  21. Check the aminet/dev/amos/ for this extension...later...
  22. Maybe I mail the .Lib file soon, to the Mailing List.
  23.  
  24. A Problem 1: How to return a string from a routine (and change it's 
  25. length) from it, the string is in the extension
  26.  
  27. dc.w TheLength
  28. dc.b "TheString",0
  29. even
  30.  
  31. Problem 2: How to get a pointer from the extension in assembler, 
  32. typically i want the pointer for a variable, same as Varptr(variable) and 
  33. pointer for an array, same as Varptr(var(array))
  34.  
  35. Hope that all peoples understanding my bad english (I'm swedish)...And 
  36. those people who don't like the assembler language.
  37.  
  38. /Timo Engman
  39.  
  40.  
  41.  
  42.  
  43.