Well, for the time, I think I will stick with BASIC.....
Search found 41 matches
- Thu Nov 29, 2018 12:58 pm
- Forum: General Discussions
- Topic: Prince of Persia
- Replies: 33
- Views: 7772
Re: Prince of Persia
Hmmm...okay 
Well, for the time, I think I will stick with BASIC.....
Well, for the time, I think I will stick with BASIC.....
- Wed Nov 28, 2018 6:56 am
- Forum: General Discussions
- Topic: Prince of Persia
- Replies: 33
- Views: 7772
Re: Prince of Persia
Well, on a second thought, it was a mistake to learn assembly as a first programming language. What I mean by that? One year is enough time for learning the fundamentals and the mnemonics of 6502 and how to use them. But....there is a catch in my case. I've never had any previous programming ...
- Tue Nov 27, 2018 3:30 pm
- Forum: General Discussions
- Topic: Prince of Persia
- Replies: 33
- Views: 7772
Re: Prince of Persia
Last (honestly) question....
Can you suggest me any books (in .pdf format for free download) or web sites, that contains listings of simple games made in 6502 assembly language with explanation text for each listing?
P.S. 1 Almost a year ago I started my journey in 6502 assembly. My initial ...
Can you suggest me any books (in .pdf format for free download) or web sites, that contains listings of simple games made in 6502 assembly language with explanation text for each listing?
P.S. 1 Almost a year ago I started my journey in 6502 assembly. My initial ...
- Mon Nov 26, 2018 2:57 pm
- Forum: General Discussions
- Topic: Prince of Persia
- Replies: 33
- Views: 7772
Re: Prince of Persia
Okay. So one last question....
How on earth a person can write so many lines of assembly code?
I finished reading all the basics about 6502 and it just terrifies me that someone (i.e. Jordan Mechner) had the courage (?) to write such a long-long-(really long) source code.
I mean, currently I'm ...
How on earth a person can write so many lines of assembly code?
I finished reading all the basics about 6502 and it just terrifies me that someone (i.e. Jordan Mechner) had the courage (?) to write such a long-long-(really long) source code.
I mean, currently I'm ...
- Mon Nov 19, 2018 6:43 pm
- Forum: General Discussions
- Topic: Prince of Persia
- Replies: 33
- Views: 7772
Re: Prince of Persia
cbmeeks wrote:
I'm sure you're aware, but the official source code is here:
https://github.com/jmechner/Prince-of-Persia-Apple-II
https://github.com/jmechner/Prince-of-Persia-Apple-II
I'm just too lazy to count!
- Mon Nov 19, 2018 1:24 pm
- Forum: General Discussions
- Topic: Prince of Persia
- Replies: 33
- Views: 7772
Re: Prince of Persia
Tor wrote:
Looks line 92871 lines to me (checking the .S files in the source). Including comments and declarations.
- Mon Nov 19, 2018 9:49 am
- Forum: Programming
- Topic: Calculating the backward offset of a branch
- Replies: 24
- Views: 6021
Re: Calculating the backward offset of a branch
BigEd wrote:
BTW, Kris1978, you might want to check out the older thread
Thank you BigEd for mentioning that old thread!
- Mon Nov 19, 2018 9:41 am
- Forum: General Discussions
- Topic: Prince of Persia
- Replies: 33
- Views: 7772
Prince of Persia
Does anyone knows how many lines in total the source code of the original (1989) Prince of Persia is?
Mechner says in his book (page 90) "The making of Prince of Persia" "My most concrete achievement today was to print out the entire source code - all 1000 pages of it"
Does anyone knows something ...
Mechner says in his book (page 90) "The making of Prince of Persia" "My most concrete achievement today was to print out the entire source code - all 1000 pages of it"
Does anyone knows something ...
- Wed Nov 14, 2018 9:27 am
- Forum: Programming
- Topic: Calculating the backward offset of a branch
- Replies: 24
- Views: 6021
Re: Calculating the backward offset of a branch
From my point of view, the CPU itself is pretty simple and easy to learn. There are three basic areas to master: the operations of the ALU, the addressing modes, and the ways to influence control flow.
What's not so simple is learning to use it effectively, because its simplicity means it has some ...
What's not so simple is learning to use it effectively, because its simplicity means it has some ...
- Wed Nov 14, 2018 8:54 am
- Forum: Programming
- Topic: Calculating the backward offset of a branch
- Replies: 24
- Views: 6021
Re: Calculating the backward offset of a branch
Zaks' Programming the 6502 was my start, and I'd recommend it. Leventhal is also well thought of.
These days, you could try running through the easy6502 tutorial online. As different people have different learning styles, you need to find what works for you.
I have Zak's book (3rd edition) and I ...
These days, you could try running through the easy6502 tutorial online. As different people have different learning styles, you need to find what works for you.
I have Zak's book (3rd edition) and I ...
- Tue Nov 13, 2018 5:40 pm
- Forum: Programming
- Topic: Calculating the backward offset of a branch
- Replies: 24
- Views: 6021
Re: Calculating the backward offset of a branch
By the way, which book do you consider as the best for self-teaching 6502 assembly language?
- Tue Nov 13, 2018 1:13 pm
- Forum: Programming
- Topic: Calculating the backward offset of a branch
- Replies: 24
- Views: 6021
Re: Calculating the backward offset of a branch
Thank you all so much! 
- Mon Nov 12, 2018 3:10 pm
- Forum: Programming
- Topic: Calculating the backward offset of a branch
- Replies: 24
- Views: 6021
Calculating the backward offset of a branch
Branches can also be done in the reverse direction. Here is a rather inefficient,
but illustrative example:
1 ********************************
2 * AL05-LOOP PROGRAM 2A *
3 ********************************
4 *
5 * OBJ $300
6 ORG $300
7 HOME EQU $FC58
8 *
9 START JSR HOME
10 JMP SETX
11 END ...
but illustrative example:
1 ********************************
2 * AL05-LOOP PROGRAM 2A *
3 ********************************
4 *
5 * OBJ $300
6 ORG $300
7 HOME EQU $FC58
8 *
9 START JSR HOME
10 JMP SETX
11 END ...
- Sun Aug 12, 2018 12:52 pm
- Forum: Emulation and Simulation
- Topic: ASCII character set
- Replies: 21
- Views: 11468
Re: ASCII character set
Thank you all for your valuable help and ideas!
Currently I'm struggling to create my own xml file for Notepad++ (never used xml or Notepad++ before in my life)
Two things remain unsolved: a) How to colorize label names and how to create columns that act like a >space bar< been pressed one time ...
Currently I'm struggling to create my own xml file for Notepad++ (never used xml or Notepad++ before in my life)
Two things remain unsolved: a) How to colorize label names and how to create columns that act like a >space bar< been pressed one time ...
- Sat Aug 11, 2018 9:57 am
- Forum: Emulation and Simulation
- Topic: ASCII character set
- Replies: 21
- Views: 11468