Search found 39 matches
- Sat Mar 23, 2024 9:16 pm
- Forum: Hardware
- Topic: Synertek SYM-1 no longer powers on correctly/no keypad
- Replies: 2
- Views: 2562
Re: Synertek SYM-1 no longer powers on correctly/no keypad
I'll try that again. I'll probe out power lines and such, I'll try and see what the reset line says and things like that. It is an old board!
- Sat Mar 23, 2024 5:54 pm
- Forum: Hardware
- Topic: Synertek SYM-1 no longer powers on correctly/no keypad
- Replies: 2
- Views: 2562
Synertek SYM-1 no longer powers on correctly/no keypad
The Synertek SYM-1 that I've used for several years suddenly stopped working. I think it broke when just sitting a bit ago, because a couple months ago it was working correctly, but no longer.
The symptoms:
Upon power on, the SYM-1 should beep once, then wait for the user to either press the hex ...
The symptoms:
Upon power on, the SYM-1 should beep once, then wait for the user to either press the hex ...
- Sat Mar 23, 2024 4:37 pm
- Forum: Programming
- Topic: A Futile Exercise: C Roguelike in <4Kb
- Replies: 43
- Views: 22723
Re: A Futile Exercise: C Roguelike in <4Kb
It's done! Monsters work now!
The build is 3.448kB in size!
I will now look into optimization and floor generation!
The build is 3.448kB in size!
I will now look into optimization and floor generation!
- Sat Mar 23, 2024 2:34 pm
- Forum: Programming
- Topic: A Futile Exercise: C Roguelike in <4Kb
- Replies: 43
- Views: 22723
Re: A Futile Exercise: C Roguelike in <4Kb
I think the bug is fixed! I think it was a signed char vs unsigned char problem.
The code is pushed, so now I will work on optimization! Get it down small as possible, and then try and cram in room generation!
Edit:
Nope! Still there! I may need a hand on figuring out why this is happening
UPDATE ...
The code is pushed, so now I will work on optimization! Get it down small as possible, and then try and cram in room generation!
Edit:
Nope! Still there! I may need a hand on figuring out why this is happening
UPDATE ...
- Thu Mar 21, 2024 4:31 am
- Forum: Programming
- Topic: A Futile Exercise: C Roguelike in <4Kb
- Replies: 43
- Views: 22723
Re: A Futile Exercise: C Roguelike in <4Kb
Hooray! SymRogue is "complete", at 3.454kb!!!!!
The code and build has been pushed to GitHub
Please note that as of this exact posting, there is a bug where the monster you're fighting may disappear from view. I'm sure its just a code ordering problem, I'm investigating it now.
The code and build has been pushed to GitHub
Please note that as of this exact posting, there is a bug where the monster you're fighting may disappear from view. I'm sure its just a code ordering problem, I'm investigating it now.
- Thu Mar 21, 2024 4:17 am
- Forum: Programming
- Topic: A Futile Exercise: C Roguelike in <4Kb
- Replies: 43
- Views: 22723
Re: A Futile Exercise: C Roguelike in <4Kb
Big things happening... the game may be done tonight!
- Tue Mar 12, 2024 9:56 pm
- Forum: Programming
- Topic: A Futile Exercise: C Roguelike in <4Kb
- Replies: 43
- Views: 22723
Re: A Futile Exercise: C Roguelike in <4Kb
Yeah, I'm trying to figure out how to do a very small monster AI. I just need this feature, then its "done"!!!
https://youtu.be/rcGd2CN1V48
https://youtu.be/rcGd2CN1V48
- Tue Mar 12, 2024 6:03 am
- Forum: Programming
- Topic: A Futile Exercise: C Roguelike in <4Kb
- Replies: 43
- Views: 22723
Re: A Futile Exercise: C Roguelike in <4Kb
Sweeet, headed to bed! I got combat working and a very rudimentary status message! Only 3.232kB !!!
Now, I'll go back and look closlier at how to optimize the status message. I also have one feature to add before this is "done" as I wanted it...monster AI! I know it can't be grandiose, but I need ...
Now, I'll go back and look closlier at how to optimize the status message. I also have one feature to add before this is "done" as I wanted it...monster AI! I know it can't be grandiose, but I need ...
- Tue Mar 12, 2024 5:48 am
- Forum: Programming
- Topic: A Futile Exercise: C Roguelike in <4Kb
- Replies: 43
- Views: 22723
Re: A Futile Exercise: C Roguelike in <4Kb
I had played around with optimization, and I got it down to around 1.5kb before the rewrite
It seems like there's always more you can do to optimize for speed, size, or both; for example, where you have
lda M0002
beq L001E
cmp #$01
beq L001F
cmp #$02
beq L0020
cmp #$03
beq L0021
bra ...
It seems like there's always more you can do to optimize for speed, size, or both; for example, where you have
lda M0002
beq L001E
cmp #$01
beq L001F
cmp #$02
beq L0020
cmp #$03
beq L0021
bra ...
- Tue Mar 12, 2024 4:26 am
- Forum: Programming
- Topic: A Futile Exercise: C Roguelike in <4Kb
- Replies: 43
- Views: 22723
Re: A Futile Exercise: C Roguelike in <4Kb
Well, after alot of silence, I am rewriting this program! It's also on git:
https://github.com/ProgrammingCube/SymRogue
I had played around with optimization, and I got it down to around 1.5kb before the rewrite, but adding in combat was proving to be such a hassle! Also, I had optimized it so ...
https://github.com/ProgrammingCube/SymRogue
I had played around with optimization, and I got it down to around 1.5kb before the rewrite, but adding in combat was proving to be such a hassle! Also, I had optimized it so ...
- Tue Dec 19, 2023 4:06 pm
- Forum: Programming
- Topic: A Futile Exercise: C Roguelike in <4Kb
- Replies: 43
- Views: 22723
Re: A Futile Exercise: C Roguelike in <4Kb
I'll see what I can do, experiments last night led nowhere but I was super tired XD
- Tue Dec 19, 2023 3:05 am
- Forum: Programming
- Topic: A Futile Exercise: C Roguelike in <4Kb
- Replies: 43
- Views: 22723
Re: A Futile Exercise: C Roguelike in <4Kb
The *working* binary is now 1522 bytes!!!
I'm really trying to get this *finished* by this Thursday, but between changing jobs, the holidays, and finishing this current job demo, its pretty tight. I just need to get combat done and add in a status bar bit. Then, the original goal would've been hit ...
I'm really trying to get this *finished* by this Thursday, but between changing jobs, the holidays, and finishing this current job demo, its pretty tight. I just need to get combat done and add in a status bar bit. Then, the original goal would've been hit ...
- Tue Dec 19, 2023 2:01 am
- Forum: Programming
- Topic: Most Common / Most Useful Applications
- Replies: 3
- Views: 1037
Re: Most Common / Most Useful Applications
If you have multiple uart ports, I definitely have a terminal of some sort, never know when you may need it.
- Sun Dec 17, 2023 8:55 pm
- Forum: Programming
- Topic: A Futile Exercise: C Roguelike in <4Kb
- Replies: 43
- Views: 22723
Re: A Futile Exercise: C Roguelike in <4Kb
Interesting! I'll test the build out...
**EDIT**
Wow!! It trimmed off around 20 bytes for just 3 variables, I'll take a look at the cc65 readme for the zeropage variables...iirc you get 6 of them but perhaps a register keyword "suggests" to use it, I may do it explicitly...I know there's a way to ...
**EDIT**
Wow!! It trimmed off around 20 bytes for just 3 variables, I'll take a look at the cc65 readme for the zeropage variables...iirc you get 6 of them but perhaps a register keyword "suggests" to use it, I may do it explicitly...I know there's a way to ...
- Thu Dec 14, 2023 7:01 am
- Forum: Programming
- Topic: A Futile Exercise: C Roguelike in <4Kb
- Replies: 43
- Views: 22723
Re: A Futile Exercise: C Roguelike in <4Kb
So, I need to work on the random number generator that you guys have suggested to fix, and the printf function. The combat functions are placeholders, but I anticipate them to be super simple to implement cheaply.
This is the code so far! We got a moving player, monsters, and collision detection ...
This is the code so far! We got a moving player, monsters, and collision detection ...