Jump to content

coin-op

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by coin-op

  1. I've just used the store to order a few 8bit pcb's and components. All arrived in the UK with no issues at all. I kust want to say 'Thanks'.
  2. I've used TRAP as follow's 20 INPUT #16, SERIAL$ 30 IF LEN(SERIAL$) <>6 THEN GOTO (BACK TO ENTERING SERIAL AGAIN) 40 LET SERIAL=VAL(SERIAL$) 45 TRAP 40 REST OF PROGRAM FORM HERE ON IN If I run this with the SERIAL$ of a23456 then TRAP springs into life and returns ERROR 18 AT LINE 40. ERROR 18 is STRING DOES NOT START WITH VALID NUMBER, this is correct and all is well up to here. If I run with the SERIAL$ of 1a3456 then TRAP does not work at all, the situation is the same for any other digit in the number (apart from the first one as mentioned). So I have a question: 1) How do I implement TRAP in the above code example so that if any character that made up SERIAL$ was not a number before it was converted to SERIAL the string is not accepted and I am returned back to entering the serial number? Another two not related questions too: 1) Is there a clear screen command? 2) Is there a line renumber command (ren 10 etc)? TIA
  3. Thanks, can you explain how to implement TRAP as I have never used it and the book I have here does not mention it at all. Thanks.
  4. I'm entering my six digits as a string - this is OK I'm checking the length of the string and if it is <>6 characters in length then there is an error - this is OK I'd like to check that my string now only contains digits and no other characters by checking the ascii value if each of the six characters that comprise the string. This I am doing with IF ASC(NUMBER$(1,6)) IS > 57 THEN (here we return to the start of the program and ask for the number to be entered again). Now this works fine for the first character of the string, for example if I enter a23456 then back to the start of the program we go but if I enter 1a3456 or 12a456 etc then no joy. I don't know if I am using sub-strings correctly here. Can anyone advise please. Once this is checked I will then change this string to its numerical equivelent by using number = val(number$) or similar. TIA
  5. Using my 65XE to write a short program in Atari Basic. I need to enter a 6 digit number between 000000 and 999999, the 0's are important, for example 1 is 000001 and even 0 is 000000 etc etc. A 6 digit number must be entered. In vb I can do this easily but how can I check that a valid number in the correct format has been entered? And also how can I check for not IsNumeric in Atari Basic? Thanks
  6. I solder quite a lot of surface mount components and do them all by hand with a cheap Antex soldering iron. In the case of IC's I will usually use a little hot-air at the end of soldering just to reflow all my connections. With IC's I 'flood' all the pins with solder and then remove the excess with solder braid, this ensures a good connection. I remove all IC's upto 80 pin with hot air. Here are a few pictures (I hope they are not too large an do not breach forum rules).
  7. Thanks for the links. I appreciate it.
  8. Are there any internet resourses or threads on this forum that concern with writing software for use on a cart? My frst version of the software will only be ~8k so all hopefully will be fairly straight forward! (famous last words). Also, where can I buy a flash cart? TIA
  9. Hi All I want to write some software (utility not game) that will run from a cartridge on the Atari 65XE. This is a fun project for myself as I have written the same software on the Windows platform and as part of an embedded project before. What I need are just a few pointers from the more savvy 8-bit guys out there if you don't mind. I have seen the PCB (though I may etch my own if there is a schematic available), EPROM and passive(s) that I need in order to make the cart in the store here so thats not the problem. I want to know the specifics of what format the compiled program needs to be in when it is blown onto the EPROM (straight .bin file?). I will be writing the software using Atari BASIC on my 65XE. That will get me going for now and thanks in advance.
×
×
  • Create New...