Jump to content

repetto74

Members
  • Content Count

    266
  • Joined

  • Last visited

Everything posted by repetto74

  1. Ok guys thanks a lot!! I have pdf copies of Analog magazine so I will put my nose into them and study this a little bit closely . And thanks also for the book reference, looks good to have BASIC graphics and then a switch to ML
  2. Hi Shanti77, I am not an expert on ML codings I am learning honestly. Can you explain better this technique of shadow registers?
  3. Hi have tried to code a small routine to cycle through border and background colors : 10 ;******************************* 20 ;* BACKGRND AND BORDER COLORS * 30 ;******************************* 40 ; 50 .OPT OBJ 60 *= $8000 70 CLR LDA 53770 80 STA 712 85 JMP DELAY 90 LDA 53770 0100 STA 710 0105 JMP DELAY 0110 JMP CLR 0251 DELAY 0252 LDX #15 0253 LDY #0 0254 LP1 DEY 0255 BNE LP1 0256 DEX 0257 BNE LP1 0260 RTS Actually I have a different behaviour when testing it with M65 DDT command : - without the delay loop the program will cycle colors at high speed in an endless loop - with the delay subroutine the program stops immediately and will display only one set of colors Cannot understand where I am wrong here. I would like to have colors being displayed slowly in an endless loop.
  4. Ok guys thanks a lot for the clarifications! Actually I am starting with ML coding on ATARI and I would consider myself as a noob. I am going through some basics books like ATARI ROOTS to better understand how ML works and would like to play more with graphics in particular. I understand then that most of the PMG basic routines are made with POKES but was for example asking myself how do you code in ML a change of graphic mode?
  5. Hi ZZIP, Thanks I have this book but it is only referring to coding in BASIC. I would like to have a guide on how to code graphics in ML on the ATARI.
  6. Does anyone have a good book reference of machine language routines to learn how to code PMG and Atari Graphics in general ? I have some books in my library but only limited to BASIC coding which is quite a pain I have to say. :-(
  7. Copied then Many thanks for your explanation on this !
  8. Ok Reveng this sounds more clear to me . So the BNE is referring to the CMP of X and Y registers to the #0 value which is set by default and as you said there is no need to code a CMP #0.
  9. Hi guys, Could someone explain to me how this delay loop work ? 251 DELAY 252 LDX #15 253 LP1 LDY #255 254 LP2 DEY 255 BNE LP2 256 DEX 257 BNE LP1 260 RTS As far as I understood these are two nested counters to delay speed of execution (needed in ML coding to the speed of operations). X and Y registers are firstly loaded with respectively 15 and 255 but then I do not catch the meaning of the BNE statement. What is used to compare the Branch Not Equal statement? So Y and X registers values are both compared by default ? Sounds fuzzy to me.
  10. Hi guys, For some reasons the command BSAVE #D:name.obj<startaddress,endaddress I was typing was not correct and now after another try it looks good :-)
  11. I can't get the FULL STOP "." with my AZERTY keyboard.
  12. Hi Jurgen, Do you still have one of these delay chip for an Atari 600xl? How much do you sell it?
  13. Hi guys Thanks a lot then I will have a look to the manual :-) By the way which Mac65 version do you suggest ? I am actually using the rom image of version 1.01.
  14. Hi folks, I have started some ML coding with the ATARI XL (using for the moment the Altirra emulator). I can save source codes with a SAVE #D:name.m65 command and working ok but I do not know how to save the object code once assembled. Have read ATARI Roots which gives a command like BSAVE #D:name.obj<startaddress,endaddress but this is not working for me. I mean I do see a file saved on the disk but I do not know how to call it back (always getting a file error). Any idea?
  15. OK Flashjazzcat thanks!! It is easier to handle the real machine than the emulator as playing with virtual disks, carts and virtual resets is sometimes confusing Just tested and fully working Many thanks dude. Sorry I am a relative noob with 8bit Atari machines. I was more a C64 user and as far as I remember DOS system was sitting in a Rom of the Diskdrive and working in the background.
  16. can you drive me on how to do that? So i need to type DOS first from the disk and then load the cart?
  17. Hi Guys, Ok then better if I start using the BIN cart I have with Altirra emulator. Well I started coding a small source code as per the Atari Roots book but I have already an error message when saving the object code or the source code . I have loaded a blank formatted disk with DOS into D1. Atari ML MAC:65.pdf Atari ML MAC:65.tiff
  18. Hi Guys, So I will use the MAC/65 assembler together with ATARI ROOTS as a good introduction in ML programming on the ATARI XL computers. I have a fairly simple question : actually I will do programming with the Altirra emulator most of the time but I would be able also to use the real Atari 600XL I own. I have an SIO2SD reader for loading and saving but actually as far as I know the reader handle ATR (rw), XFD (ro) and COM/XEX (ro) file types only. Is there any ATR version of the MAC/65 assembler to be loaded with the real machine? (I do not have the MAC/65 cart). I searched and found this https://atariwiki.org/wiki/Wiki.jsp?page=Mac65 What is the difference between a MAC/65 cart or bin image and the ATR image MAC/65 4.20 with BUG/65 and DOS XL 2.30. Can this be used to assemble?
  19. Hi Maclaneinc Ok finally sorted out!!! :-) I did a reset using WIne Dos prompt then replaced the whole set of roms. I did some tweaking to set up the machine and now all is back to work! Weird... Luckily I can now save on the formatted disk Thanks for the support!
  20. I am trying Altirra 2.90 but things are worst. I can even get the Atari XL emulation to boot and all paths to roms are correctly set Also I noticed that settings of the 2.80 version are also set by default. How do you reset all with WINE and a MacOsX?
  21. Hi Maclaneinc. Thanks for your suggestions. I will grab the Altirra 2.90, redo from scratch and see. Have to test the SAVE command with a space yet as a last try. :-)
  22. Hi Spookt, the disk has been saved with R/W option yes and it is working on your side so it should do with me. Noted for the list command. I think really something is wrong with Altirra itself. I will restart an emulator from scratch and see. Darwinmac the disk is working on your side also thanks for checking. Mystery of computing really o-O. I will check as you suggested and revert. Thanks guys :-)
  23. Hi Flashjazzcat Ok thanks for confirming!! Yes I do type the command in uppercase but error all the time. I may think something is wrong with altirra (I am using it on a mac through Wine). Can you confirm what are your emulator settings ? Hardware and memory ?
  24. Hi Spookt, I am doing all good as you do since the time you put the formatted disk with DOS into D1 and do a cold start. I do not select the B option "run cartridge" but I do go straight to Basic prompt where saving is not allowed (Error 130). You are using a LIST command for saving your 2 lines of basic and I do not know why you are doing that. I was trying to save with a SAVE "D1:tetst.bas" command
×
×
  • Create New...