Search found 43 matches

by DanielS
Mon Sep 14, 2020 3:46 am
Forum: Programming
Topic: What's your ideal IDE
Replies: 10
Views: 1746

Re: What's your ideal IDE

I think the biggest difference between an "IDE" and a "programmer's text editor" is knowledge and control of the whole project & build/run process, which enables resolving cross-file source code references, and debugging the running code through the lens of the source code.

Since even just the ...
by DanielS
Mon Sep 14, 2020 3:00 am
Forum: Programming
Topic: What's your ideal IDE
Replies: 10
Views: 1746

Re: What's your ideal IDE

I'm not a big fan of IDEs; but I would certainly encourage having things optional. For example, I do not like syntax highlighting (except when I write html), and I would want to turn it off. Same with auto-indent.

Most of what has been discussed so far is really about programmers' text editors ...
by DanielS
Mon Sep 14, 2020 1:01 am
Forum: Programming
Topic: What's your ideal IDE
Replies: 10
Views: 1746

Re: What's your ideal IDE

For multiple editor panes, Excel, Visual Studio, etc already do this by allowing you to drag a splitter bar to have 2 views into the same file. That way you're looking at 2 portions of a large .asm file at the same time, each in their own scrollable area, each can edit with their own cursor. Emacs ...
by DanielS
Mon Sep 14, 2020 12:17 am
Forum: Programming
Topic: What's your ideal IDE
Replies: 10
Views: 1746

Re: What's your ideal IDE

There should be keyboard shortcuts to jump to the label under the cursor, too, instead of just the mouse. Also, back/forward navigation for any of that sort of jumping around. Maybe bookmarked locations as well that you can use with something like Ctrl-0 to Ctrl-9.
On my to-do list.

An undo/redo ...
by DanielS
Sun Sep 13, 2020 7:02 pm
Forum: Programming
Topic: What's your ideal IDE
Replies: 10
Views: 1746

Re: What's your ideal IDE

I can't speak for others, of course, but I want my source code text large, easy to read and in strongly-contrasting colors. I've yet to see a GUI-based IDE that has those features.

BTW, what do operands such as \2 and \3 mean? It's not any type of assembler notation with which I am familiar.

You ...
by DanielS
Sun Sep 13, 2020 4:32 pm
Forum: Programming
Topic: What's your ideal IDE
Replies: 10
Views: 1746

What's your ideal IDE

I've been working on an IDE that I'm writing in C++. It's specifically designed for my own needs. I was thinking that others may want a fast, self contained (no install required) IDE too. Attached are some screenshots of what I use. However, I'd like to hear what you guys would like to see in an IDE ...
by DanielS
Wed Sep 09, 2020 12:05 am
Forum: Programming
Topic: BRKing a program without clearing the screen (C64)
Replies: 3
Views: 890

Re: BRKing a program without clearing the screen (C64)

Sorry John. I edited it. Thanks for your answer.
by DanielS
Tue Sep 08, 2020 10:16 pm
Forum: Programming
Topic: BRKing a program without clearing the screen (C64)
Replies: 3
Views: 890

BRKing a program without clearing the screen (C64)

I'm putting in a few BRK instructions here and there for debugging. What I want to do is print a debug message to the screen and then exit the program. However, brk clears the screen. How can I just drop out of my program and leave the screen contents intact? Re-vector the interrupt routine maybe?
by DanielS
Sat Sep 05, 2020 10:07 am
Forum: Programming
Topic: [C64] Multicolor sprite woes
Replies: 13
Views: 1570

Re: [C64] Multicolor sprite woes

I didn't care for lemon64. That's why I made an account here. And going by the help I've received I made the right choice.
by DanielS
Fri Sep 04, 2020 6:04 pm
Forum: Programming
Topic: [C64] Multicolor sprite woes
Replies: 13
Views: 1570

Re: Multicolor sprite woes

(It might be a good idea to put, say, [C64] in a topic title if it's a C64 specific topic. There are a host of 6502 systems and projects of interest here, and many of us are not primed for machine-specific questions.)
Noted.
You can go back to your head post and click "Edit" and change the title ...
by DanielS
Fri Sep 04, 2020 1:18 pm
Forum: Programming
Topic: [C64] Multicolor sprite woes
Replies: 13
Views: 1570

Re: Multicolor sprite woes

BigEd wrote:
(It might be a good idea to put, say, [C64] in a topic title if it's a C64 specific topic. There are a host of 6502 systems and projects of interest here, and many of us are not primed for machine-specific questions.)
Noted.
by DanielS
Fri Sep 04, 2020 5:01 am
Forum: Programming
Topic: [C64] Multicolor sprite woes
Replies: 13
Views: 1570

Re: Multicolor sprite woes

Thanks guys. And thanks for your patience too.
by DanielS
Thu Sep 03, 2020 10:32 pm
Forum: Programming
Topic: [C64] Multicolor sprite woes
Replies: 13
Views: 1570

[C64] Multicolor sprite woes

After reading many tutorials, I'm at something that I haven't seen in one.
See the attached photos. image2 is the sprite and image1 is how the sprite looks on the screen.
What am I missing?
by DanielS
Wed Sep 02, 2020 3:13 am
Forum: Programming
Topic: Branch instructions
Replies: 12
Views: 1683

Re: Branch instructions



Can't you just do


_validate_1 ; left, right, down
ldy #0
cpx ch_left
beq _valid
ldy #2
cpx ch_right
beq _valid
ldy #4
cpx ch_down
beq _valid
jmp _invalid

Damn. Yes I can. That never occurred to me. I'm still in the C++ mindset I guess so the "simple" things here are, for now ...
by DanielS
Wed Sep 02, 2020 3:02 am
Forum: Programming
Topic: Branch instructions
Replies: 12
Views: 1683

Re: Branch instructions

Here's an example...


_validate_1 ; left, right, down
cpx ch_left
php
ldy #0
plp
beq _valid
cpx ch_right
php
ldy #2
plp
beq _valid
cpx ch_down
php
ldy #4
plp
beq _valid
jmp _invalid

Y needs to be used in the next section. If I do it this way then I can avoid many, seemingly ...