danwinslow
-
Posts
3,034 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Gallery
Events
Store
Posts posted by danwinslow
-
-
Well, do as you like, of course, but if it's usability you want to optimize, then improve your documentation, feature set, and code stability. Having an extremely compact utility that no one uses is literally useless. You also might consider that you are providing features that are either already fixed by other things, are not actually a problem, or are trivial.
- 2
-
5 hours ago, drac030 said:
Huh? This is what the C library has to offer for clrscr() and setcursor()? Why not simply putc(125) and a simple write to crscol/row? It would be not only more portable - to different Atari display handlers, at least - but also much shorter, no?
I'm just reporting. I Had nothing to do with CC65's source code. I'm sure they had their reasons.
-
Here is the source code for the current version of clrscr: https://github.com/cc65/cc65/blob/master/libsrc/atari/clrscr.s
and it calls setcursor at the end: https://github.com/cc65/cc65/blob/master/libsrc/atari/setcursor.s -
yeah, I assumed as much, since he hasn't commented. I'm glad you've known about this, please pardon us for discussing it in your thread. Neither one of us was advocating for a change in MadPascal, I was just voicing an opinion.
- 1
-
It shouldn't make them constants, constants go in a 'constant' block. Whether local var initialization should do anything and whether it should occur every time the function is entered is less clear, can't really get a direct answer after googling a bit.
This thread is probably relevant - https://en.delphipraxis.net/topic/923-initialize-local-variables-at-declaration/
But anyway, as an outsider opinion I think it definitely should behave the way I was thinking - either make it happen each function call or don't allow it. There are various different implementations out there though, so maybe MadPascal allows compilation of such sources with the proviso that you might have to go back in and add your own direct initialization.
-
Ah. Ok, thanks. The guy asking about it seemed to have some expectation of it working that way, so I kind of thought it was supposed to. Maybe it's kind of a language hole, and only works in variants that MadPascal is not implementing.
-
Scope, yes, but whats the point of allowing the declarative initialization if it's only going to be done once? The fact that the last value is retained makes it act more like global scope, even if the name scope is there. Not a pascal expert but seems kind of wrong.
- 2
-
TGB, yes, you "fixed" it, but thats not the point.
The locals in the xyz() function should be re-initialized to 0 each time the function is entered. According to his output, they are not, and retain the 10 from the previous call. I think this is a bug.
Unless pascal explicitly doesn't do that, in which case I wonder why they have local vars at all.
-
Makes sense. Altirra debugger is extremely powerful, but that does come at a cost of complication.
-
The Altirra debugger seems so much better than anything you could run from within the atari...if you have that available why would you want to use either of these native debuggers?
-
I never played this game, at all, on any platform. Sounds like maybe I should try it.
- 2
-
Break key exits will continue to have th eproblem, though. Don't know if you can trap that in TB or not.
- 1
-
? Did this actually get made?
-
It's the tragedy of humanity - we are children playing in a room full of easily assembled deadly toys.
- 2
-
45 minutes ago, Mathy said:
Hello guys
Don't worry. AI will get better. The Wright brothers didn't start with a 747 and Alexander Graham Bell didn't invent the smart phone.
Sincerely
Mathy
This is exactly the problem, and not the solution. This is a very real and existential threat. But then again, we seem to be collecting those. Jackpot!
- 2
-
Well, it's by design of the folks who designed Action!, obviously, and intended for use with Action! programs. Is it a good idea for Action? Sort of, I guess, as said it's kind of a semi-dangerous way to skip having to specify the channel all the time.
Drac030 seems to be answering the question "Was this by the design of Atari itself?" and he's right, the answer there is no.
- 1
-
1 hour ago, Stephen said:
Or we could just relentlessly mock him in response to every post, in order to drown out his noise, with a louder noise of our own Just sayin'
Well, except that doesn't seem to have any effect on him.
- 2
-
This is unfortunately true. Him posting a bit hurts nothing, but due to the nature of people it inevitably snags someone into trying to help him, or else telling him to hush up, or both, and then we all have the same threads over and over. What he really wants is attention. At any rate, I think it's time we consider limiting his ability to post, however that is done here.
- 1
-
I think the A8 just isn't suitable for the advanced stuff you are trying to do. I think you should consider dropping it as a target, focusing your energy and talent on targets that can support it.
- 1
-
@OP: You mean the 'we hooked an Atari up to some web site' story? Already happened.
- 1
-
That's a 'break on write' command to catch writes to $2F0, right?
-
Is this a new problem since you 'cleaned up' your code or did it always not appear?
- 1
-
We all know what Harry's deal is. If you want to help, just help. Criticism, even helpful, is pointless.
-
Uh huh. Don't feed.
- 4
cc65/AtaSimpleIO cursor?
in Atari 5200 / 8-bit Programming
Posted
Nobody is using your stuff. That is your actual problem. You are providing something that no-one needs. All of your utilities help with things that aren't actually problems. Everything you handle is either already done in numerous ways, or trivial. In particular, no-one needs "cubbyhole" optimization software. AdvSkel is actually not a bad idea, but its executed and documented so badly that no one wants to use it.
Stop obsessing about sizes, and take the time to build AdvSkel out into a real toolkit for people writing text adventures. Document it well. Then, even in this late day of 8bit, somebody somewhere might use it.