Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Can't save work  (Read 3182 times)

0 Members and 1 Guest are viewing this topic.

Brick Nash

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Generic Amiga User
Can't save work
« on: May 29, 2016, 07:44:01 PM »

Hey folks,

Quite chuffed with myself and my little program but I just can't get it to save. It keeps asking me to ensure the file name ends with .AMOS and it does but it just keeps flashing up NOT DONE in red at the top of the editor every time I try and when I check nothing has been saved.

I set up a little folder called projects in my Amos folder on Windows (Maybe that's my problem) and I went to save the file in there but it's just not happening. Should I set up a drawer within workbench instead? How do I exit to workbench to make a drawer without losing my work though?

Not sure what to do. Thanks!
Logged

bruceuncle

  • AMOS Dev
  • A500
  • *****
  • Karma: 6
  • Offline Offline
  • Gender: Male
  • Posts: 425
  • WINUAE Amiga User
Re: Can't save work
« Reply #1 on: May 29, 2016, 10:15:54 PM »

Don't try saving to Windows from the Amiga side, the file names and formats are not compatible.  Save to the Amiga file structure - the emulator will take care of the format.
You can switch between AMOS & Workbench using [left amiga] + [A].  On the PC keyboard, the two 'Windows' keys function as the left & right Amiga keys.
Although the virtual hard drive for the emulator is just a directory in Windows (or a hard file - I prefer a directory myself) be very careful if you start working with the files on the Windows sides.  Problems usually arise with incompatible path names and text formats.  I frequently edit text sources in Windows but you have to be careful that the content doesn't get converted to Unicode (16 bit characters).  When writing text out from VB or VBA, this means meticulously using the VBA 'B' instructions to stop any Unicode 'leaks'.  The 'B' instructions are ones like ChrB$, InstrB, etc.
Sent from my Lumia 640 using Tapatalk
Logged
Repeat after me ...  "The AMOS Pro architecture is complex but it is not complicated."

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Can't save work
« Reply #2 on: May 30, 2016, 08:52:54 AM »

If you use a Windows text editor, make sure to use the Latin1 character set with Unix line endings.
Logged

Brick Nash

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Generic Amiga User
Re: Can't save work
« Reply #3 on: May 30, 2016, 09:31:10 AM »

As always great advice, thanks so much. This forum is great!

I lost my work last night but I managed to get it to save and I'm determined to do better today! :)
Logged

Volvo_0ne

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 71
  • A1200 lover
Re: Can't save work
« Reply #4 on: May 30, 2016, 06:54:53 PM »

As always great advice, thanks so much. This forum is great!

I lost my work last night but I managed to get it to save and I'm determined to do better today! :)

Remember to save  regularly, then you won't lose so much if things go t*ts up :D
Logged
Transuranic heavy elements may not be used where there is life.
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022