Search found 7 matches
- Thu May 17, 2018 8:07 pm
- Forum: Brand new software!
- Topic: New Game - Hibernated 1
- Replies: 31
- Views: 7944
Re: New Game - Hibernated 1
Take Io with you, it will be useful.
- Sun Dec 10, 2017 6:46 pm
- Forum: Brand new software!
- Topic: Q*Box, by ThePope (3D game with AGD)
- Replies: 16
- Views: 4849
Re: Q*Box, by ThePope (3D game with AGD)
Floating bus vs snow. Bang!
Emulators have beaten real hardware again.
Emulators have beaten real hardware again.
- Sun Nov 26, 2017 12:51 pm
- Forum: Programming
- Topic: Missed Interrupts with DI+IM2 in assembly
- Replies: 12
- Views: 4418
Re: Missed Interrupts with DI+IM2 in assembly
Method 2 The basic idea is to store the checksums for all the blocks in which the reading through the stack is used. The interrupt routine considers the block checksum (add as a rule) and restores the value on the stack. Requires a little more memory (for checksums) and spends more tacts (~1400) in ...
- Sun Nov 26, 2017 9:38 am
- Forum: Programming
- Topic: Missed Interrupts with DI+IM2 in assembly
- Replies: 12
- Views: 4418
Re: Missed Interrupts with DI+IM2 in assembly
method 1 ;sprite out routine ld c,(hl) inc hl ld b,(hl) inc hl ld sp,hl .... pop bc .... ;------ int ld (.memhl), hl pop hl ld (.memret), hl ld (.memsp), sp push bc ld sp, intSp .... ;player timer etc .memhl equ $+1 ld hl, 0 .memsp equ $+1 ld sp, 0 ei .memret equ $+1 jp 0
- Sun Nov 26, 2017 7:47 am
- Forum: Programming
- Topic: Missed Interrupts with DI+IM2 in assembly
- Replies: 12
- Views: 4418
Re: Missed Interrupts with DI+IM2 in assembly
There are several techniques without disabling interrupts to work with data on the stack. Their application depends on the specific situation, if you give an example of how the stack can be used more precisely.
- Wed Nov 22, 2017 7:07 pm
- Forum: Programming
- Topic: Machine code challenge
- Replies: 12
- Views: 4041
Re: Machine code challenge
and ofc jp p ret equ ret m jr
- Wed Nov 22, 2017 6:57 pm
- Forum: Programming
- Topic: Machine code challenge
- Replies: 12
- Views: 4041
Re: Machine code challenge
from Russia with love
23
23
Code: Select all
frame
ld hl, 0x5aff
xor a
ld a, 0x17
.l2
ld bc, 0x1e49
ld (hl), c
dec hl
.l1
jr nz, $+3
ld (hl), c
dec hl
djnz .l1
ld (hl), c
dec hl
dec a
ret m
jr .l2