Search found 12 matches

by AgentFriday
Sat Jan 02, 2016 7:29 pm
Forum: General Discussions
Topic: 65-0-2 Minecraft
Replies: 45
Views: 41915

Re: 65-0-2 Minecraft


I was thinking of something like this: http://hackaday.com/2012/11/16/avr-minecraft-server-lets-you-toggle-pins-from-the-virtual-world/

If the Atmega328 can do it, a 6502 probably can.

The software is open-source, so maybe it can be ported?

https://github.com/cnlohr/avrcraft

Not looking at ...
by AgentFriday
Tue Dec 29, 2015 7:43 pm
Forum: Programming
Topic: Assembler that automatically select what to put in ZP
Replies: 31
Views: 5577

Re: Assembler that automatically select what to put in ZP

GARTHWILSON wrote:
. . . In my macros to form program structures in 65c02 assembly . . . language
Damn, bro... good stuff. Site bookmarked.
by AgentFriday
Tue Dec 29, 2015 7:23 pm
Forum: Programming
Topic: Assembler that automatically select what to put in ZP
Replies: 31
Views: 5577

Re: Assembler that automatically select what to put in ZP

However, I don't remember ever having to page-align anything in 65c02 anyway. The only use I can think of for page alignment is if something had to be cycle-exact for timing a loop or process, . . .
Reasons I have seen for alignment on (NMOS) 6502:

Branching in cycle-exact code -- timing only ...
by AgentFriday
Tue Dec 29, 2015 6:47 pm
Forum: Programming
Topic: Assembler that automatically select what to put in ZP
Replies: 31
Views: 5577

Re: Assembler that automatically select what to put in ZP

I disagree. An assembler with conditional macros could easily interrogate the program counter and emit either depending on what it found. It would still be a "true assembler".
Sure, fine with me. Hence my statement " So why not let the assembler provide such scripts that are activated using pseudo ...
by AgentFriday
Tue Dec 29, 2015 7:39 am
Forum: Programming
Topic: Assembler that automatically select what to put in ZP
Replies: 31
Views: 5577

Re: Assembler that automatically select what to put in ZP

Oh, another one, relating to 65816... Let assembler automatically choose near or far jmp based or target... Do assemblers already do that, or does it have to be adjusted manually?

BTW BigDumbDinosaur, I love your posts and have great respect for you... just debating with you here. :)
by AgentFriday
Tue Dec 29, 2015 6:41 am
Forum: Programming
Topic: Assembler that automatically select what to put in ZP
Replies: 31
Views: 5577

Re: Assembler that automatically select what to put in ZP

[last edit 12/28 @ 23:30 ish]

This whole discussion makes me wonder whether it would be useful to write in a slightly higher level of abstraction...Then again, I suppose that might be just reinventing another language that already exists.
Assembly language is used to get close to the bare metal ...
by AgentFriday
Tue Dec 15, 2015 9:18 pm
Forum: Hardware
Topic: Reason why 6502 ignores RDY during write cycles?
Replies: 23
Views: 3361

Re: Reason why 6502 ignores RDY during write cycles?

BigDumbDinosaur wrote:
That's because there is no delete button. :D
Oh yeah... BigEd just deleted a line of text... not a whole message.
BigDumbDinosaur wrote:
Everyone knows that once it's on the Internet it never goes away. :lol:
And.... that is why I have a no-rant policy :D
by AgentFriday
Tue Dec 15, 2015 9:14 pm
Forum: Hardware
Topic: Reason why 6502 ignores RDY during write cycles?
Replies: 23
Views: 3361

Re: Reason why 6502 ignores RDY during write cycles?

I suspect it might have been that RDY was only originally needed for reads - specifically, for ROM reads, as RAM at the time of introduction was fast enough but ROM likely to be the limiting factor on system clock rate.

Ahhhhh.... that makes sense.

Datasheet is helpful... mentions both DMA and ...
by AgentFriday
Tue Dec 15, 2015 8:43 pm
Forum: Hardware
Topic: Reason why 6502 ignores RDY during write cycles?
Replies: 23
Views: 3361

Re: Reason why 6502 ignores RDY during write cycles?

(BTW, as I might not be the only one to point out, RDY is active high, signalling that the memory subsystem is ReaDY. So no need for a slash, bar, asterisk or other sign that it might be active low.)

Yeah, realized that after I posted... fixed with an edit. Thanks!

[I would delete this one as ...
by AgentFriday
Tue Dec 15, 2015 8:29 pm
Forum: General Discussions
Topic: How to set new password?
Replies: 2
Views: 654

Re: How to set new password?

Ahhhh.... Thank you. I looked at the sub-items for every link EXCEPT for user profile it seems...
by AgentFriday
Tue Dec 15, 2015 8:26 pm
Forum: Hardware
Topic: Reason why 6502 ignores RDY during write cycles?
Replies: 23
Views: 3361

Reason why 6502 ignores RDY during write cycles?

It's well known that in order to do asynchronous DMA on the 6502 you need to wait 3 cycles between deasserting RDY and accessing the bus. I am intrigued by the fact that a DMA operation is allowed to interrupt the CPU in the middle of an instruction, but not when a write is about to happen.

Does ...
by AgentFriday
Tue Dec 15, 2015 8:12 pm
Forum: General Discussions
Topic: How to set new password?
Replies: 2
Views: 654

How to set new password?

I clicked "forgot password" and got my password reset... was able to login with the new password, but I can find no way to change the password to something I want! Most password reset systems will force you to choose a new password anytime you do a reset, but this one did not. Only place I can ...