Page 4 of 12

Re: LISTINGS!

Posted: Tue Nov 09, 2010 11:31 am
by usotsuki
I guess it's a good thing I'm reasonably well-versed in 6502 then xD

I grew up using the Apple //e and //c which have a 65C02 processor, very similar to the Sally "6502 Custom" the Atari XE line (and the 800, XL series, 5200 and 7800) used, and do a lot of development for Apple 8-bits, so I recognized the "address poked into zero page" right away.

Re: LISTINGS!

Posted: Tue Nov 09, 2010 12:45 pm
by AriX
usotsuki wrote:I guess it's a good thing I'm reasonably well-versed in 6502 then xD

I grew up using the Apple //e and //c which have a 65C02 processor, very similar to the Sally "6502 Custom" the Atari XE line (and the 800, XL series, 5200 and 7800) used, and do a lot of development for Apple 8-bits, so I recognized the "address poked into zero page" right away.
Cool :)
Any good at reverse engineering?

Re: LISTINGS!

Posted: Tue Nov 09, 2010 1:00 pm
by usotsuki
Moderately, but not particularly. I've only done a little, mostly to crack single-load game disks, though I've done a little bit of tweaking around inside software to see what it did.

Re: LISTINGS!

Posted: Tue Nov 09, 2010 10:12 pm
by AriX
Good news:

I figured out how to get the EPG Jr. software to register up to 64 channels (which seems to be its built-in limit) with almost no problem whatsoever. I also figured out how to get it to highlight channels like we can do on the Amiga software. The Amiga software seems to only allow up to 6 channels to be highlighted, but the Atari doesn't appear to have a limit.

Also, I have some good news for all of you Windows folks, which is that over the next little while I'm going to be putting up a centralized listing server on prevueguide.com and I'll be figuring out a solution for Windows users to be able to receive listings on their emulated Ataris and Amigas, provided they can forward their ports to allow some UDP packets to be forwarded straight to their computer. Also, hopefully I'll have time to start documenting these newer commands pretty soon.

Re: LISTINGS!

Posted: Tue Nov 09, 2010 10:14 pm
by hen7713
I was able to get it to change the guide title, but after the time is changed using Mode K, it won't do anything at all if the commands are put into the monitor.

Edit: That's excellent!

Re: LISTINGS!

Posted: Tue Nov 09, 2010 10:49 pm
by AriX
hen7713 wrote:I was able to get it to change the guide title, but after the time is changed using Mode K, it won't do anything at all if the commands are put into the monitor.
You have to increment the address you write it to. For example, if you write a $32-byte message to 3800, you have to write your next message to 3832 (and set 00c8 to the end of the message) and so on.

Re: LISTINGS!

Posted: Tue Nov 09, 2010 11:21 pm
by SchalaAshtear
Got it working by injecting the commands manually in Altirra =D

Next, I'm going to try it in the Amiga...

Re: LISTINGS!

Posted: Tue Nov 09, 2010 11:42 pm
by hen7713
Would it be possible to post the commands you used? I'm not getting how to do this exactly

Re: LISTINGS!

Posted: Tue Nov 09, 2010 11:55 pm
by SchalaAshtear
Here are the commands I injected into the Altirra emulator:

Code: Select all

e 3800 55 AA 41 2A 00 94 00 00 00 00 0D 0A 00 00
e 00c8 0e 38
e 380e 55 AA 4B 05 00 0E 00 0E 06 1A 01 01 AD
e 00c8 1b 38
e 381b 55 AA 41 2A 00 94 00 00 00 00 0D 0A 00 00
e 00c8 29 38
e 3829 55 AA 54 20 20 20 20 54 48 49 53 20 49 53 20 41 20 54 45 53 54 20 46 52 4F 4D 20 55 4E 49 54 45 44 20 56 49 44 45 4F 20 20 20 00 80 0D 0A
e 00c8 57 38
e 3857 55 AA 43 0F 12 01 58 59 5A 31 11 32 01 58 59 5A 31 00 82 0D 0A
e 00c8 6C 38
e 386C 55 AA 50 12 0F 58 59 5A 31 12 01 50 52 4F 47 52 41 4D 20 31 20 54 53 20 31 38 20 4A 44 41 54 45 20 31 35 00 DA 0D 0A
e 00c8 93 38
e 3893 55 AA 41 2A 00 94 55 AA BB BB 00 FF 
e 00c8 9f 38
They should also work in Atari800Win, but change the "e" to "c" =)

Re: LISTINGS!

Posted: Wed Nov 10, 2010 6:57 am
by nwgatwcfan
SchalaAshtear wrote:Here are the commands I injected into the Altirra emulator:

Code: Select all

e 3800 55 AA 41 2A 00 94 00 00 00 00 0D 0A 00 00
e 00c8 0e 38
e 380e 55 AA 4B 05 00 0E 00 0E 06 1A 01 01 AD
e 00c8 1b 38
e 381b 55 AA 41 2A 00 94 00 00 00 00 0D 0A 00 00
e 00c8 29 38
e 3829 55 AA 54 20 20 20 20 54 48 49 53 20 49 53 20 41 20 54 45 53 54 20 46 52 4F 4D 20 55 4E 49 54 45 44 20 56 49 44 45 4F 20 20 20 00 80 0D 0A
e 00c8 57 38
e 3857 55 AA 43 0F 12 01 58 59 5A 31 11 32 01 58 59 5A 31 00 82 0D 0A
e 00c8 6C 38
e 386C 55 AA 50 12 0F 58 59 5A 31 12 01 50 52 4F 47 52 41 4D 20 31 20 54 53 20 31 38 20 4A 44 41 54 45 20 31 35 00 DA 0D 0A
e 00c8 93 38
e 3893 55 AA 41 2A 00 94 55 AA BB BB 00 FF 
e 00c8 9f 38
They should also work in Atari800Win, but change the "e" to "c" =)
This worked like a charm. Thanks,