ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
#include <packet2_types.h>
Data Fields | |
u16 | max_qwords_count |
enum Packet2Type | type |
enum Packet2Mode | mode |
u8 | tte |
qword_t * | base |
qword_t * | next |
dma_tag_t * | tag_opened_at |
vif_code_t * | vif_code_opened_at |
DMA data packet. Successor of standard packet.
Definition at line 300 of file packet2_types.h.
qword_t* packet2_t::base |
Start position of the buffer.
Definition at line 317 of file packet2_types.h.
Referenced by dma_channel_send_packet2(), draw_cube(), packet2_add(), packet2_create(), packet2_create_from(), packet2_free(), packet2_get_qw_count(), packet2_print(), and packet2_reset().
u16 packet2_t::max_qwords_count |
Maximum number of qwords which was defined in packet2_create().
Definition at line 303 of file packet2_types.h.
Referenced by packet2_add(), packet2_create(), packet2_create_from(), and packet2_reset().
enum Packet2Mode packet2_t::mode |
Packet mode.
Definition at line 303 of file packet2_types.h.
Referenced by dma_channel_send_packet2(), packet2_create(), and packet2_create_from().
qword_t* packet2_t::next |
Current position of the buffer.
Definition at line 319 of file packet2_types.h.
Referenced by clear_screen(), dma_channel_send_packet2(), init_drawing_environment(), packet2_add(), packet2_add_float(), packet2_add_s128(), packet2_add_s32(), packet2_add_s64(), packet2_add_u128(), packet2_add_u32(), packet2_add_u64(), packet2_advance_next(), packet2_chain_add_dma_tag(), packet2_chain_call(), packet2_chain_close_tag(), packet2_chain_next(), packet2_chain_ref(), packet2_chain_refe(), packet2_chain_refs(), packet2_create(), packet2_create_from(), packet2_doesnt_have_even_number_of_quads(), packet2_get_qw_count(), packet2_pad128(), packet2_pad96(), packet2_print(), packet2_reset(), packet2_update(), packet2_vif_close_direct_auto(), packet2_vif_close_direct_manual(), packet2_vif_close_unpack_auto(), packet2_vif_close_unpack_manual(), packet2_vif_open_direct(), packet2_vif_open_unpack(), and send_texture().
dma_tag_t* packet2_t::tag_opened_at |
The buffer position where DMA tag was opened. NULL, if no dma tag is open.
Definition at line 324 of file packet2_types.h.
Referenced by packet2_chain_add_dma_tag(), packet2_chain_close_tag(), packet2_create(), packet2_is_dma_tag_opened(), and packet2_reset().
u8 packet2_t::tte |
Tag transfer enable. Effective only in chain mode. If >0 transfer tag is set during packet sending and add_dma_tag() (so also every open_tag()) will move buffer by DWORD, so remember to align memory!
Definition at line 315 of file packet2_types.h.
Referenced by dma_channel_send_packet2(), packet2_chain_add_dma_tag(), packet2_create(), and packet2_create_from().
enum Packet2Type packet2_t::type |
Type of packet's memory mapping.
Definition at line 303 of file packet2_types.h.
Referenced by packet2_create(), and packet2_create_from().
vif_code_t* packet2_t::vif_code_opened_at |
The buffer position where DIRECT/UNPACK was opened. NULL, if no DIRECT/UNPACK is open.
Definition at line 329 of file packet2_types.h.
Referenced by packet2_create(), packet2_is_vif_code_opened(), packet2_reset(), packet2_vif_close_direct_auto(), packet2_vif_close_direct_manual(), packet2_vif_close_unpack_auto(), packet2_vif_close_unpack_manual(), packet2_vif_open_direct(), and packet2_vif_open_unpack().