|
49 | 49 | * @remark Register .A will be modified. |
50 | 50 | * @remark Flags N and Z will be affected. |
51 | 51 | * |
52 | | - * @note Usage: c128lib_copyFast($C000, $C100, 256) // Copies 256 bytes from memory location $C000 to $C100 |
| 52 | + * @note Usage: c128lib_CopyFast($C000, $C100, 256) // Copies 256 bytes from memory location $C000 to $C100 |
53 | 53 | * |
54 | 54 | * @since 1.0.0 |
55 | 55 | */ |
56 | | -.macro c128lib_copyFast(source, destination, count) { copyFast(source, destination, count) } |
| 56 | +.macro @c128lib_CopyFast(source, destination, count) { CopyFast(source, destination, count) } |
57 | 57 |
|
58 | 58 | /** |
59 | 59 | * @brief This macro copies a block of memory from one location to another using page relocation. |
60 | 60 | * |
61 | 61 | * @details This macro also handles the page relocation of the memory block during the copy operation. |
62 | | - * It's slower than @sa copyFast but it uses much less memory, especially for large memory blocks copy. |
| 62 | + * It's slower than @sa c128lib_CopyFast but it uses much less memory, especially for large memory blocks copy. |
63 | 63 | * |
64 | 64 | * @param[in] source The starting address of the memory block to be copied. |
65 | 65 | * @param[in] destination The starting address of the location where the memory block will be copied to. |
|
69 | 69 | * @remark Flags N and Z will be affected. |
70 | 70 | * @remark Zeropage location $fe will be used. |
71 | 71 | * |
72 | | - * @note Usage: c128lib_copyWithRelocation($C000, $C100, 256) // Copies 256 bytes from memory location $C000 to $C100 with relocation |
| 72 | + * @note Usage: c128lib_CopyWithRelocation($C000, $C100, 256) // Copies 256 bytes from memory location $C000 to $C100 with relocation |
73 | 73 | * @note Minimum length is set to 5 because it's not convenient to use this |
74 | 74 | * macro for lower values. |
75 | 75 | * |
76 | 76 | * @since 1.0.0 |
77 | 77 | */ |
78 | | -.macro c128lib_copyWithRelocation(source, destination, count) { copyWithRelocation(source, destination, count) } |
| 78 | +.macro @c128lib_CopyWithRelocation(source, destination, count) { CopyWithRelocation(source, destination, count) } |
79 | 79 |
|
80 | 80 | /** |
81 | 81 | * @brief This macro fills memory with a specified value. |
|
88 | 88 | * @remark Registers .A and .X will be modified. |
89 | 89 | * @remark Flags N and Z will be affected. |
90 | 90 | * |
91 | | - * @note Usage: c128lib_fillMemory($0400, $E0) // Fills the screen starting from memory location $0400 with the value $E0 |
| 91 | + * @note Usage: c128lib_FillMemory($0400, $E0) // Fills the screen starting from memory location $0400 with the value $E0 |
92 | 92 | * |
93 | 93 | * @since 1.0.0 |
94 | 94 | */ |
95 | | -.macro c128lib_fillMemory(address, length, value) { fillMemory(address, length, value) } |
| 95 | +.macro @c128lib_FillMemory(address, length, value) { FillMemory(address, length, value) } |
96 | 96 |
|
97 | 97 | /** |
98 | 98 | * @brief This macro compares a 16-bit value with a 16-bit memory location. |
|
108 | 108 | * @remark Register .A will be modified. |
109 | 109 | * @remark Flags N, Z and C will be affected. |
110 | 110 | * |
111 | | - * @note Usage: cmp16($1234, $C000) // Compares the 16-bit value $1234 with the 16-bit memory location starting at $C000 |
| 111 | + * @note Usage: c128lib_Cmp16($1234, $C000) // Compares the 16-bit value $1234 with the 16-bit memory location starting at $C000 |
112 | 112 | * |
113 | 113 | * @since 1.0.0 |
114 | 114 | */ |
115 | | -.macro @c128lib_cmp16(value, address) { cmp16(value, address) } |
| 115 | +.macro @c128lib_Cmp16(value, address) { Cmp16(value, address) } |
116 | 116 |
|
117 | 117 | /** |
118 | 118 | * @brief Fills two-byte located in memory address "mem" with byte "value". |
|
125 | 125 | * |
126 | 126 | * @since 1.0.0 |
127 | 127 | */ |
128 | | -.macro @c128lib_set16(value, address) { set16(value, address) } |
| 128 | +.macro @c128lib_Set16(value, address) { Set16(value, address) } |
0 commit comments